Question: C++ Program (need help!): Below is a C++ program along with the steps I have to complete. Will someone please help me out along with
C++ Program (need help!): Below is a C++ program along with the steps I have to complete. Will someone please help me out along with explaining and/or stating in the program where they made that change? It would really help out!
//This program demonstrates the C++ String Class #include
Step 1: Modify the given program, concatenate a string "GHI" onto str3 and display it.
Step 2: Assign string Chicago to str3. Find the length of str3 by calling member function length().
Step 3: The size function also returns the length of the string. Using a for loop to display str3 one character at a time.
Step 4: Compare str1 with str2. The result should indicate less than, greater than, or the same.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
