This video helps you to create a simple java program Subtraction quiz for children. This is very interesting program that covers the practice of generating random numbers, working with mod operator, round off numbers from 1 to 10 and teach you how to write boolean expression.
So to create this program you need to follow the following algorithm.
1. Generate two random numbers from 1 to 10.
2. Input the difference of two numbers from user by prompting a message.
3. Print the…