Question: When the user presses their space key, the Dancer should be positioned on the stage at the point with coordinates ( 0 , 9 0

When the user presses their space key, the Dancer should be positioned on the stage at the point with coordinates (0,90), wearing the costume dancer1. The user should be asked a question about division and rounding, in the format shown in Figure 1.
Described image
Figure 1
Figure 1
The percentage (45, in the above example) should be a whole number chosen at random from 1 to 100 inclusive. The amount (294, in the above example) should be a whole number chosen at random from 100 to 500 inclusive.
If the user gets the answer correct, they should be told 'Correct' and the dancer should perform a happy dance to congratulate them. If they get the answer incorrect, they should be told so and given the correct answer, for example, 'Incorrect. Answer is 132', and the dancer should perform a sad dance in commiseration.

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!