Posted by Milo on Wednesday, April 13, 2011 at 7:39pm.
1. Use a string function to look for a space in the string, then print the substring between the beginning/last space as a word.
2. Don't know if there is a string function to do that. If not, read the string backwards, one character at a time and print as you go.
3. So the blank space is your "delimiter" of words. Locate sequentially all the spaces, and declare it a word if the current space does not follow immediately the preceding one. That is to say, if it is not a zero length word.
4. You will use the toupper() function, and find a function to delete a substring (blank).
Post if you have further questions.
Write a program that asks the user to enter the student’s name (first and last), and his/her first exam grade of three students, and then display them in a neat format. After that the program will find the average of the three grades, and print it
Related Questions
Programming - Hi. I am taking a computer programming class (C++). I need some ...
programming - I am having trouble writing this program for java. can anybody ...
computer - Your boss wants you to input financial data into the computer to ...
science - Please help! I am having a hard time. Can you give me some help with ...
Literature - I need to translate some lines of poetry into today's language ...
computer programming c++ - write a program that can read 10 interger values into...
computer programming - write a program that can read 10 interger values into an ...
history - Ok i am having trouble with my world history homework questions...
math- mean value theorem - Hi I am having some trouble with these few quetions I...
Computer Club Ideas (please read) - Is there any sites for middle or high ...
For Further Reading