Question: //constant variable for number of questions //variable to count number of correct answers //variable string for output //input (using Scanner) /**while loop that goes upto
//constant variable for number of questions
//variable to count number of correct answers
//variable string for output
//input (using Scanner)
/**while loop that goes upto the constant variable (number of questions) */
//1. two random single digit numbers
// 2. if one is greater than otheer swap order
//3. Prompt the student to answer "What is number1 -number2?"
//4. Grade the answer and display result (if correct increase correct counter)
//5. increase count ( while loop condition)
//Print out correct count
In java programming
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
