Question: C++ Exercise # 1: String Comparison Write a C++ program that prompts the user to enter two equal sized strings and then compares them whether
C++ Exercise # 1: String Comparison Write a C++ program that prompts the user to enter two equal sized strings and then compares them whether they are the same or not by comparing each character from the first with the second. You should not use any predefined library function. Sample Input/Output: Enter two strinss of equal size. ter two strings of equal size. ter a string : THIS is pro grann ing class. ter a string: this is progranning ela nter another string: thin is progranning class he tuo strings are sane nter another string: this is progranning class he tuo strings are NOT sane
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
