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, 22.06.2019 01:30
What “old fashioned” features of checking accounts is p2p replacing
Answers: 3
question
Computers and Technology, 22.06.2019 15:30
To increase sales, robert sends out a newsletter to his customers each month, letting them know about new products and ways in which to use them. in order to protect his customers' privacy, he uses this field when addressing his e-mail. attach bcc forward to
Answers: 2
question
Computers and Technology, 23.06.2019 17:00
Companies that implement and apply an information system effectively can create
Answers: 1
question
Computers and Technology, 24.06.2019 02:20
The first time a user launches the powerpoint program, which view is shown allowing the user to access recent presentations or create new presentations based on templates?
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, 13.12.2020 07:00
question
Mathematics, 13.12.2020 07:00
question
Mathematics, 13.12.2020 07:00
question
Mathematics, 13.12.2020 07:00
question
Mathematics, 13.12.2020 07:00
question
Mathematics, 13.12.2020 07:00
question
Computers and Technology, 13.12.2020 07:00
Questions on the website: 13722359