Question: Write in C++ Write a program that asks the user to enter two names and stores them in string objects. It should then report whether

Write in C++  Write in C++ Write a program that asks the user to

Write a program that asks the user to enter two names and stores them in string objects. It should then report whether or not, ignoring case, they are the same. To help the program accomplish its task, it should use two functions in addition to main, upperCaselt() and sameString(). Here are their function headers: string upperCaselt(string s) Boolean sameString (string s1, string s2) The same string function, which receives the two strings to be compared, will need to call upperCaselt for each of them before testing if they are the same. The upperCaselt function should use a loop so that it can call the toupper function for every character in the string it receives before returning it back to the sameString function

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!