Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Bioinformatics Databases And Systems

Authors: Stanley I. Letovsky

1st Edition

1475784058, 978-1475784053

More Books

Students also viewed these Databases questions