Question: This example expects an alphabet character input and replies with the order of the character in the alphabet. It's not perfect though. How can you
This example expects an alphabet character input and replies with the
order of the character in the alphabet. It's not perfect though. How can
you improve itHint: stndrdth
char ch;
chgetchar;
if ch a && ch z
printfc is the dth character
;
else if ch A && ch Z
printfc is the dth character
;
else
printfNot an alphabet.";
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
