Thursday
July 31, 2014

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

Environmental science .. - Hi, Can any offer some advice please.... I hav been ...
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 ...
Socials - I had posted some of these questions a few days ago, but i had trouble...
computer - Your boss wants you to input financial data into the computer to ...
Literature - I need to translate some lines of poetry into today's language but ...
Computer Science - Can anyone tell me where one could find help and advice for a...
his 204 - Can some one offer some insights into some of the problems that were ...
English - So I'm working on an english paper but I've been stuck the past hour ...
science - Please help! I am having a hard time. Can you give me some help with ...

Search
Members