Write a program that examines the student in the basic arithmetic operations (summation, subtraction and multiplications).
The student should be asked to choose which exam he would like to start with. 1- The exam of summation or subtraction:
It should provide the following requirements.
It consists of three stages
Stage one: summation or subtraction of two single digit integer numbers Stage two: summation or subtraction of two double digits integer numbers Stage three: summation or subtraction of two triple digits integer numbers In each stage you should ask the student ten times to sum or subtract two random integer numbers and check his answers.
If the student answers 80% or more of the questions correctly he will move to the next stage otherwise he will be asked if he would like to get the exam again. If his answer is ok repeat the exam for him.
If the student failed to success three times do not ask him to repeat the exam and till him that he should study well before getting the exam again.