Question: Write a java program to create a Calculator Quiz-Test application to perform addition of three random questions. When the program starts your application should display

Write a java program to create a “Calculator Quiz-Test” application to perform addition of three random questions. When the program starts your application should display 2 random numbers ranged from 1-100 and asking user to enter the addition of these 2 numbers (similarly you have to create 2 more sets of question) and finally you should display the number of correct and incorrect questions and display the total marks as well. A correct answer will earn 10 marks and an incorrect answer will get - 5 (negative mark). When the program ends you should display the following, ) Number of correct and incorrect questions 2) Total marks obtained 3) The answer for all generated question.

Step by Step Solution

3.36 Rating (140 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Heres a simple Java program that implements the described Calculator ... View full answer

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