Question: 1. Declare one C++ string object and initialize them to Magnificent. Declare an integer and give it a value of 7. Convert the integer to
1. Declare one C++ string object and initialize them to "Magnificent". Declare an integer and give it a value of 7. Convert the integer to string and join it with the the string to make up a string string of "Magnificent 7" - don't forget the spaces where necessary. [printf is optional.] (C01 - 2 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
