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
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
Get step-by-step solutions from verified subject matter experts
