Question: IN C++ Write a function, isAllLower, that takes a string as input and returns true if all the alphabetic characters in the string are lowercase
IN C++
Write a function, isAllLower, that takes a string as input and returns true if all the alphabetic characters in the string are lowercase alphabetic characters. The function returns false otherwise. Non-alphabetic characters like numbers and symbols are not lowercase alphabetic characters. Your function should be named isAllLower Your function has one input argument of type string Your function has one return value of type boolean evaluating to true if the input string contains all lowercase alphabets, false otherwise Your function should not print anything Example: Calling function with string "onetwo", should return true. Calling function with string "onEtwo", should return false. Calling function with string "^#$%123", should return false. Edge Case: If the string is empty, return true. For example: Test Result cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
