Question: using c++ Part 1: A Class to Store Marks 1. Define a class that includes a string to store a student's name, an array of

using c++
using c++ Part 1: A Class to Store Marks 1. Define a

Part 1: A Class to Store Marks 1. Define a class that includes a string to store a student's name, an array of 5 floats to represent the marks for individual subjects, a single int representing the number of subjects for which marks have been set and a float that will represent the average mark 2. Decide whether these data members of the class should be public, private or protected. (On what are you basing your choice?). Include relevant constructor, destructor, setter and getter functions in the class, including one to work out and set the average mark

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!