Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Test data and validation

Input

If user enters a negative limit and above 12 The program will prompt the user to correct
positive limit to practice the desired
multiplication table
If the user enters a correct character instead of The program will exit and prompts or the right
an integer input

The user press option1 after finishing the The program will allow the user again to select
selected multiplication table the limits for another multiplication table he or
she wants to practice
If the user enters option2 The program will allow the user to exit the
console screen by pressing any key
If the user enters the correct answer for the first The program will display “excellent “on the
time screen

If the user fails for the first time and then enters The program will display “very good “ on the
the correct answer screen

If the pupil fails two consecutive times and enters The program will display “good” on the console
the correct answer screen

If the pupil fails to enter the correct answer or The program will display “don’t give up try again”
three attempts

You might also like