Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 coutStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started