Question: Question 2: Write a C program that first determines if an entered character is a lowercase letter. If the letter is lowercase, determine and print
Question 2: Write a C program that first determines if an entered character is a lowercase letter. If the letter is lowercase, determine and print out its position in the alphabet.
For example, if the entered letter is c, your program should print out 3, since c is the third letter in the alphabet. If the entered letter is G, your program should print The character entered is not a lowercase letter.
Your program should run in a loop until the user enters Q to quit.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
