Computer Science, asked by kasho7654321, 30 days ago

Q1: Write a class result that contain rollno, name and marks of three subjects. The
marks are in an array of integers. The class also contains the following member functions:
The input function used to input the values in data members.
The show) function is used to displays the value of data members
The total function returns the total marks a student
O The avgå function returns the average marks of a student. The program should create an
object of the class and call the member functions.​

Answers

Answered by minakashipatiyal2076
6

Answer:

Q1: Write a class result that contain rollno, name and marks of three subjects. The

marks are in an array of integers. The class also contains the following member functions:

The input function used to input the values in data members.

The show) function is used to displays the value of data members

The total function returns the total marks a student

O The avgå function returns the average marks of a student. The program should create an

object of the class and call the member functions.

Similar questions