Answered step by step
Verified Expert Solution
Question
1 Approved Answer
# display a welcome message print ( The Test Scores program ) print ( ) print ( Enter 3 test scores ) print
# display a welcome message
printThe Test Scores program"
print
printEnter test scores"
print
# get scores from the user
totalscore # initialize the variable for accumulating scores
totalscore intinputEnter test score:
totalscore intinputEnter test score:
totalscore intinputEnter test score:
# calculate average score
averagescore roundtotalscore
# format and display the result
print
printYour scores: score score score
printTotal Score: totalscore,"
Average Score:", averagescore
print
printBye
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started