Question: Write a script that will prompt the user for a character, and then print either that it is an uppercase letter, lowercase letter, or not

Write a script that will prompt the user for a character, and then print either that it is an uppercase letter, lowercase letter, or not a letter of the alphabet. Your script should produce identical output to the sample output below. Also, use the built-in MATLAB functionisletter to determine whether the character is or is not a letter of the alphabet, and then use the ASCII code equivalents to determine whether a letter is uppercase or lowercase (look up values in a chart or type double(a), for example, to determine them).

 Enter a character: Pow Please enter a SINGLE character. 
 Enter a character: & & is not a letter of the alphabet. 
 Enter a character: R R is an uppercase letter. 
 Enter a character: q q is a lowercase letter. 

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!