5. There are 10 bowlers on the team. Write a Python program that uses a for loop to input each of their scores. Your program should use a while loop to validate that each score entered is greater than zero and not greater than 300. Once the scores have been processed, the program should print the average bowling Score. Test your program by entering a score = 0, a score < 0, a score >300, a score = 300, and valid scores. %3D %3D

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter5: Repetition Statements
Section5.3: Interactive While Loops
Problem 5E
icon
Related questions
Question
5. There are 10 bowlers on the team. Write a Python program that uses a for loop to input
each of their scores.
Your program should use a while loop to validate that each score entered is greater than
zero and not greater than 300.
Once the scores have been processed, the program should print the average bowling
Score.
Test your program by entering a score = 0, a score < 0, a score >300, a score = 300, and
valid scores.
%3D
%3D
Transcribed Image Text:5. There are 10 bowlers on the team. Write a Python program that uses a for loop to input each of their scores. Your program should use a while loop to validate that each score entered is greater than zero and not greater than 300. Once the scores have been processed, the program should print the average bowling Score. Test your program by entering a score = 0, a score < 0, a score >300, a score = 300, and valid scores. %3D %3D
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 6 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr