Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MODIFY the program that you wrote that asks the user to enter 4 test scores and calculate their average. What you will add is some

MODIFY the program that you wrote that asks the user to enter 4 test scores and calculate their average. What you will add is some additional text based on the overall average.

NEW REQUIREMENTS FOR THIS TASK! - failure to do so will result in points being taken off!!!

a) MAKE SURE THAT YOU FIX ANY PROBLEMS / ERRORS FROM BEFORE b) Add some meaningfull comments to your code c) Also, as comments in your code, provide me a list of data that you will use to verify that your program works correctly and provides the correct answers! d) Add the display commentary as stated below based on the calculated grade average. Keep the commentary on the same line as the Average Score

Follow what I have stated below as to what you are to display: If the average grade is 100, then display "wow - everyone is acing the course!" If the average grade is between 90 and less than 100, then display "great job!" If the average grade is between 80 and less than 90, then display "doing well!" If the average grade is between 70 and less than 80, then display "okay but could be better" If the average grade is between 60 and less than 70, then display "need to study harder" If the average grade is less than 60, then display "bad news"

Sample Inputs: Enter score 1 > 100 Enter score 2 > 87 Enter score 3 > 93 Enter score 4 > 64 Sample Outputs: Scores: 100, 87, 93, 64 Average Score: 83.0 - doing well

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

Mobile Communications

Authors: Jochen Schiller

2nd edition

978-0321123817, 321123816, 978-8131724262

More Books

Students also viewed these Programming questions