Saturday
May 18, 2013

Homework Help: C++ programming computer

Posted by Milo on Wednesday, April 13, 2011 at 7:39pm.

I'm having some trouble trying to program these problems and putting them into the main function. Please help me by giving some advice or website that offer good information for me.
The questions are below here:
1. Write a function that accepts a string of characters from a user and displays the string one word per line.
2. Write a function that accepts a string of characters, then output all the characters of the string in a reversed order.
3. Write a function that counts the number of words in a string. A word is encountered whenever a transition from a blank space to a non-blank character is encountered. Assume that the string contains only words separated by blank spaces.
4.Write a function that accepts a string from a user and convert all lower case letters to upper case letters and also eliminates all blank spaces in the string.

Write a program that tests all the above functions.

Answer this Question

First Name:
School Subject:
Answer:

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

Search
Members
Community