subject

This program is to ask the user N number of math (using only +, -, *, and /) questions. Once the program start it asks the user to enter how many questions will be asked (N, which is between 3-10). Then, the program asks N questions to the user. Each question will be one of four math operations (+, -, *, and /). The operation and operands will be selected randomly in your program. Operand are "unsigned short" between 0 and 100. After N questions, program exits by showing success score (number of correct / number of all questions). Sample Run
Enter number of questions I need to ask: 5
1) 3 + 4 = 6
Incorrect, 7 was the answer.
1) 8 - 4 = 4
Correct
1) 5 * 6= 30
Correct
1) 5 - 345= -300
Incorrect, it should be -340.
1) 0-0=0
Correct
Your success rate is 60%.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 23:30
You picked the corridor which led you here. if the guards find you, they're going to be really angry! what is the synonym of angry
Answers: 1
question
Computers and Technology, 22.06.2019 10:20
Shown below is the start of a coding region within the fist exon of a gene. 5'--3' 3'--5' how many cas9 pam sequences are present?
Answers: 1
question
Computers and Technology, 22.06.2019 11:00
Eva has many contacts on the professional networking site she uses which contacts are considered second degree
Answers: 3
question
Computers and Technology, 22.06.2019 15:10
Which activity should be part of a long-term plan to positively affect yourhealth? oa. wearing regular clothing when handling toxinsob. not worrying about secondhand smokeoc. avoiding excessive exposure to sunlightod. drinking only well water
Answers: 1
You know the right answer?
This program is to ask the user N number of math (using only +, -, *, and /) questions. Once the pro...
Questions
question
Mathematics, 17.11.2020 21:00
question
Engineering, 17.11.2020 21:00
question
Mathematics, 17.11.2020 21:00
question
Biology, 17.11.2020 21:00
question
Mathematics, 17.11.2020 21:00
question
Mathematics, 17.11.2020 21:00
question
Physics, 17.11.2020 21:00
question
Computers and Technology, 17.11.2020 21:00
Questions on the website: 13722362