Question: 2 . Create a flowchart, a Python program, and output for the following. Program requirements: Your program should ask the user to enter the racers

2. Create a flowchart, a Python program, and output for the following.

Program requirements: Your program should ask the user to enter the racers finish position. If the position is greater than 0 and less than six, calculate the award as 1000 divided by the finish position and output a message that they will receive an award and the amount of the award. Format the output so that it has a $ sign and 2 decimal places. If the finish position is not less than six or it is not greater than zero, output a message indicating they will not receive an award.

Run the program twice. First time, to test your program when you enter a finish position that is less than six and greater than zero. Second time, to test your program when you enter a finish position that is not less than six.

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!