Question: C++ O COMPUTER SCIENCE I (CS 161_001 U2018) > Assignments > Lab 3 Lab 3 Due No Due Date Points 10 The operator can be
O COMPUTER SCIENCE I (CS 161_001 U2018) > Assignments > Lab 3 Lab 3 Due No Due Date Points 10 The operator can be used to test whether two string objects are equal, however the strings will not be considered equal if the case of any letters is different between the two strings. For example "Jack" and JACK" would be considered not equal. Write a function that takes two strings as parameters. It should then return true if those strings are the same, ignoring case. Otherwise it should return false. That is, the normal comparison performed by - is case- sensitive, but your function should be case-insensitive. You can use the toupper function to aid your comparison. Remember that toupper only changes a single character, not a whole string. Next 4 Previous
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
