Write a class marks with three data members to store three marks. Write three
member functions, set_marks() to input marks, sum() to calculate and return the sum
and avg() to calculate and return average marks.
Expert's answer
#include<iostream>usingnamespace std;
classmarks {
public :
int a;
int b;
int c;
Setmarks()
}
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot