Question: By using C++ Write a C++Program, which compares two strings and displays the message accordingly. The requirements of the program are: Declare two string objects
Write a C++Program, which compares two strings and displays the message accordingly. The requirements of the program are: Declare two string objects name1 and name2 Store the user input names in name1 and name2. Program should ignore the case of the inputs provided. This can be done by converting the given inputs to uppercase. Use the string library by adding this line at the top of your program #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
