Question: 1 . 2 isCapital Function Name: isCapital Input: ( char ) A letter Output: ( logical ) Logical value if the input letter is capital

1.2 isCapital
Function Name: isCapital
Input:
(char) A letter
Output:
(logical) Logical value if the input letter is capital or not
Description:
Write a function falled isCapital that checks if the input letter is capital. If the input
letter is capital, output true. Otherwise, output false. You are guaranteed that your input
will be a letter.
Examples:
answerl = isCapital ({:?'A')
answer1= true
answer2= isCapital ('z')
answer2= false
answer3= isCapital ({:?'M')
answer3= true
 1.2 isCapital Function Name: isCapital Input: (char) A letter Output: (logical)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!