Question: Create a program PROG2.EXE that will: 1. Output a prompt character '2 2. Read in a character 3. e character is a dedimal digit n

 Create a program PROG2.EXE that will: 1. Output a prompt character

Create a program PROG2.EXE that will: 1. Output a prompt character '2 2. Read in a character 3. e character is a dedimal digit n then output the digit n If th on the next line ntl times. If the character is not a decimal digit then exit. An example of a program run is C:>PROG2 71 ? a C:>PROG2 20 C:\ PROG2 23 C:v>

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!