Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual Basic6 Database Programming

Authors: John W. Fronckowiak, David J. Helda

1st Edition

0764532545, 978-0764532542

More Books

Students also viewed these Databases questions

Question

2. Do you find change a. invigorating? b. stressful? _______

Answered: 1 week ago