Question: Complete the C + + code The C + + code will ask the user to enter a day from the keyboard and save it

Complete the C++ code
The C++ code will ask the user to enter a day from the keyboard and save it in variable new_day.
Then, the program will concatenate the entered day, new_day, with the given string day. Save the concatenated word in a new variable.
After it, the program will find the index of the word on, and then use this index to insert the word MY DAY.
At the end, the program will print the length of the concatenated day and the sixth letter of the concatenated day. The print message should be as:
The concatenated days is ______, with length of ____ with letter ___ as the sixth letter.
Given:
string day = "Monday", new_day;

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!