Question: Function Name: whatIsIt Inputs: ( char ) A character Output: ( logical ) Logical value indicating if the character is an uppercase letter ( logical
Function Name: whatIsIt
Inputs:
char A character
Output:
logical Logical value indicating if the character is an uppercase letter
logical Logical value indicating if the character is an lowercase letter
logical Logical value indicating if the character is an digit
logical Logical value indicating if the character is an space
Description:
Write a function called whatIsIt that takes in a character and returns four logicals:
True if the character is an uppercase letter, false if not
True if the character is a lowercase letter, false if not
True if the character is a digit, false if not
True if the character is a space, false if not
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
