Question: This lab is equivalent to your research lab previously assigned. The programming challenge is to receive a string of characters from the user and: Display

 This lab is equivalent to your research lab previously assigned. The

This lab is equivalent to your research lab previously assigned. The programming challenge is to receive a string of characters from the user and: Display the user string in Upper Cases with only one space between words. Display the string in lower cases with only one space between words. Display the number of words in the string entered by the user. Display the number of characters in the string entered by the user. Display the number of characters in the string, formatted by your program with only one space between words. Describe clearly and concisely your approach to the solution of this problem (5 points). O Requirements: Create the pseudocode for the function used to clean the user input. The pseudocode that formats the user input with only one space between words. Call such function cleanString(). (30 points). Implement in C++ your cleanString() function. (30 points) (10 points)Create a functional menu program offering the user the following: Your program must ask the user for a string of characters. Your program display all the necessary information about the user's string. Your program ask the user if s/he wants to enter another string for analysis or to exit the program. IF yes then your program receives the input and displays all the info about the new string. IF not you exit the program. Create a txt file with the C++ code for the whole program. Called stringAnalysis.txt and submit it along with your lab report. (10 points) (10 points) Test your program and paste here your outputs for different possibilities. This include, but is not limited to: Navigate the menu and prove it is working for all options. Display info about the user string. Test the program for different types of strings

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!