Challenge 2: Calculate Student's Total Marks
In this exercise, you have to calculate a student's total marks using the concept of Classes
Problem Statement
Write a C++ class called student
with
-
private
member variables:-
name
(string
type) -
mark1
andmark2
(float type)
-
And member functions:
-
Get_Marks(int marknumber)
, a ...