Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write C++ program to calculate average for three different students scores in a test that is out of 100. Each score can only be an

Write C++ program to calculate average for three different students scores in a test that is out of 100. Each score can only be an integer value between 0 and 100 however there is no need for validation here. The three scores must be inputted from the keyboard. For example, a score of 59 , 61 and 62 is shown below.

image text in transcribed

Then average is displayed to 2 decimal places as shown below. You must use the above input values for scores when testing your work for submission Again, style of program is very important here. You must document your work. You must indent code properly. You must also name your variables with descriptive names. You must space out work for clarity. Use proper indentation.

Enter score 1 : 59 Enter score 2 : 61 Enter score 3 : 62 Average = 60.67 (Ctrl)

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_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Perform an Internet search. Discuss a company that uses EPLI.

Answered: 1 week ago

Question

How do you feel about employment-at-will policies? Are they fair?

Answered: 1 week ago