Question: Complete the function CheckAll ( ) that has one string parameter and one character parameter. The function returns true if all the characters in the
Complete the function CheckAll that has one string parameter and one character parameter. The function returns true if all the characters in the string are equal to the character parameter. Otherwise, the function returns false.
Ex: If the input is bwhf h then the output is:
False, at least one character is not equal to h
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
