Question: The program should: Python (no other addon) Display a message stating its goal Ask the users to input how many RATs they completed Check that

The program should:

Python (no other addon)

  1. Display a message stating its goal

  2. Ask the users to input how many RATs they completed

  3. Check that the entry is valid - users cant enter less than 1 or more than 4 number of RATs. If the entry is invalid ask the users to try again until a valid input is received (hint: use WHILE loop)

  4. For each RAT, ask the users to enter its score

  5. For each score, check that the entry is valid - users cant enter less than 0 or more than 5 for a RAT. If the entry is invalid ask the users to try again until a valid input is received (hint: use WHILE loop)

  6. Calculate and output the current RAT average (the sum of the RAT scores divided by the number of RATs taken)

  7. Ask the users to input how many WAs they completed

  8. Check that the entry is valid - users cant enter more than twice the number of RATs theyve taken, or less than twice the number of RATs theyve taken -1. For example, If a user had taken 1 RAT, the number of WA taken must be between 1 and 2; if a user had taken 3 RATs, the number of WA taken must be between 5 and 6 and so on.

  9. If the entry is invalid ask the users to try again until a valid input is received (hint: use WHILE loop)

  10. For each WA, ask the users to enter its score

  11. For each score, check that the entry is valid - users cant enter less than 0 or more than 10 for each WA score. If the entry is invalid ask the users to try again until a valid input is received (hint: use WHILE loop)

  12. Calculate and output the current WA average (the sum of the WA scores divided by the number of WAs taken)

  13. Ask the users to input how many questions they got correct on the Python quiz.

  14. Check that the entry is valid - users cant enter less than 0 and more than 25 for the total number of correct answers on the quiz. If the entry is invalid ask the users to try again until a valid input is received (hint: use WHILE loop)

  15. Calculate and output the current Python quiz score (the number of current answers divided by 25)

  16. Calculate and output the current score in the course based on the inputs received (remember: RATs are 0.2 of the final, WAs are 0.7 of the final and the quiz is 0.1 of the final)

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!