wes d2a2ba9e15 first commit | 4 лет назад | |
---|---|---|
.. | ||
README.md | 4 лет назад | |
code.cpp | 4 лет назад | |
unitTest.cpp | 4 лет назад |
by Helen Yu tags: strings, conditions, validation
Create a function that takes two strings as arguments and return either true or false depending on whether the total number of characters in the first string is equal to the total number of characters in the second string. Examples comp("AB", "CD") ➞ true comp("ABC", "DE") ➞ false comp("hello", "edabit") ➞ false Notes Don't forget to return the result. If
Create a function that takes two strings as arguments and return either true
or false
depending on whether the total number of characters in the first string is equal to the total number of characters in the second string.
comp("AB", "CD") ➞ true
comp("ABC", "DE") ➞ false
comp("hello", "edabit") ➞ false
return
the result.