Question: Create a prdgram PROG2.EXE that will: 1. Output a prompt character' 2. Read in a character 3. If the character is a decimal digit n
Create a prdgram PROG2.EXE that will: 1. Output a prompt character'" 2. Read in a character 3. If the character is a decimal digit n then output the digit n on the next line n+1 times. If the character is not a decimal digit then exit. An example of a program run is: C:PROG2 71 C:1>PROG2 2 a. C:>PROG2 20 C:\>PROG2 23 C:N>
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
