Question: Example 01 a tolerant program based on retry mode A procedure Get ( I ) reads the characters which are pressed on a keyboard until

Example 01 a tolerant program based on retry mode A procedure Get ( I ) reads the characters which are pressed on a keyboard until the 'return' key has been keypressed. These characters are then converted into a decimal value which is assigned to the variable I. If characters different from the figures are provided, the execution of the procedure is suspended and the exception Data_Error is raised.

Define a procedure Safe_Get (I) able to tolerate the keypressing faults.

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 Systems Analysis And Design Questions!