Friday
March 6, 2015

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 ...
Science - Can you recommend some good website to use for this project? I get ...
Programming - Hi. I am taking a computer programming class (C++). I need some ...
ACC305 Accounting for Decision Making - I am trying to get my research paper ...
ACC305 Accounting for Decision Making - I am trying to get my research paper ...
Economics. - I need some help please. I am trying to find some resources to help...
Calculus - Hi there i am having some problems trying to do my calculus homework...
Socials - I had posted some of these questions a few days ago, but i had trouble...
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 ...

Members