Question: In C++, Write a program that prompts the user to enter a string such as Hello World, I live at 678 San Diego. Read the
In C++, Write a program that prompts the user to enter a string such as Hello World, I live at 678 San Diego. Read the string and display the whole string first, then use string functions to display the following:
The length of the string
The character at index 8.
Turn the character at index 9 to upper case then display string again.
Check if the character at index 24 is a digit?
Display the ASCII code (integer value) for the character at index 10
Change the character 7 to 9 and display string again.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
