Question: A java program to generate 2 addition, 2 subtraction and 2 multiplication random binary problems. The program should also be able to select one of

A java program to generate 2 addition, 2 subtraction and 2 multiplication random binary problems. The program should also be able to select one of the 6 random problems and display it. The user should only input the answer and the program should show whether it's correct or wrong.

eg 1

output:

10000 + 111000

input: 01001000

output:

you are correct

eg2

output:

100001 11100

input: 01101

output:

you are wrong

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 Databases Questions!