mailoher89 April 13, 2011 at 16:27:05 Specs: Windows Vista
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.
Do not do the entire homework. I want some feedback and some advice on how to start and at least give me some good website that i can get some information from it because my book does not relate to my homework. Thank you for the respond.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Compnet Ventures, LLC hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.