Question: Create a function called compareIt that should take two string as its parameters and the function will return true if two strings are equal. If
Create a function called compareIt that should take two string as its parameters
and the function will return true if two strings are equal. If it is not, return false.
However, we dont want this comparison to be case sensitive So we can do it by
convert all characters in theses strings to upper case or lower case and then do
the comparing.Create a function called compareIt that should take two string as its parameters
and the function will return true if two strings are equal. If it is not, return false.
However, we dont want this comparison to be case sensitive So we can do it by
convert all characters in theses strings to upper case or lower case and then do
the comparing.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
