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 newday.
Then, the program will concatenate the entered day, newday, 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", newday;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
