#include<stdio.h>
int main(void)
{
char first[50];
char last[50];
printf("Enter a first and last name: \n\n");
scanf("%s %s", first, last);
printf("%s, %c.", last,...
Type: Posts; User: gallupingcactus
#include<stdio.h>
int main(void)
{
char first[50];
char last[50];
printf("Enter a first and last name: \n\n");
scanf("%s %s", first, last);
printf("%s, %c.", last,...
I'm trying to separate the array into the the first name and last name parts. I don't know the ascii equivalent of the space-bar and in general, it is better to use the single quotes to refer to...
I have a C textbook, I have looked at it and I have not found anything that explains how to print a fragment of the data in an array. From what I understand homework is meant to be a learning...
Hello, I am trying to create a program that asks the user to input a first and last name and then outputs it in the following format:
George Washington
Washington, G.
Here is what I have; it...