Question: ASSIGNMENT 1 2 : Dealing with non - numeric data & ASCII codes Name: _ _ _ _ _ _ _ _ _ _ _

ASSIGNMENT 12: Dealing with non-numeric data & ASCII codes Name: _____________________________ Your program will ask the user if they want to quit (0), enter a letter (1), or enter a number [any integer within the range shown below](2). Letters must be read in using getchar() and numbers must be read in using scanf. The output must resemble the following
Each time you enter a letter, you will need to adapt your program so that it ONLY reads the letter entered
by the user (not the return, /n, that followed).
For letters only, verify that the value entered IS A LETTER using isalpha.
Your program will consist of ONE while or do-while loop; it will use if-statements and/or if-else
statements.
Code MUST NOT use breaks to end loops or if / else statements such as break, return (0), etc.
ASSIGNMENT 1 2 : Dealing with non - numeric data

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 Programming Questions!