Print each word in a line on separate lines
I want to make a program in C that reads a line of characters and then
print each word in the line on separate lines.
This is what i have:
char C;
printf("Write some characters: ");
scanf_s("%c",&C);
printf("%c",C);
As you can see I havent started with the thing I want to do because i dont
know if I should use an if-statment or a for-statment.
No comments:
Post a Comment