Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Please use c++ and please use a class to calculate the average don't use another method. 2. Please show your code. 3. Please show

1. Please use c++ and please use a class to calculate the average don't use another method.

2. Please show your code.

3. Please show all outputs.

Calculate this example:

Given a set of the following discrete numbers/grades: 900, 55, 200, 34, 112, 55, 87, 256, 100, 100 1)

The "average" or "arithmetic mean" of the grades is the sum of all grades divided by the number of the grades.

ave = (33, 43, 79, 52, 59, 48, 7, 76, 61, 62, 68, 29, 49, 22, 0, 23, 68, 20)/18 = 40.9

=

Requirements Continued:

This is an Object Oriented Programming (OOP) problem; therefore, you should try to solve the problem using classes.

You should read the data from the input file provided along with this project.

Your code must be properly documented and formatted.

.

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

Database Driven Web Sites

Authors: Joline Morrison, Mike Morrison

2nd Edition

? 061906448X, 978-0619064488

More Books

Students also viewed these Databases questions