(Validating User Input) The examination-results program of Fig. assumes that any value input by the user that’s not a 1 must be a 2. Modify the application to validate its inputs. On any input, if the value entered is other than 1 or 2, keep looping until the user enters a correct value.
Fig. Examination-results problem: Nested control statements. (Part 1 of 2.)

Fig. Examination-results problem: Nested control statements. (Part 2 of 2.)

We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.