Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedIN 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Antipatterns Avoiding The Pitfalls Of Database Programming

Authors: Bill Karwin

1st Edition

1680508989, 978-1680508987

More Books

Students also viewed these Databases questions