Computer Science, asked by aman844662, 4 months ago

Define a class Student described as below-
Data members/ instance variables:
Name, age, m1, m2, m3 (marks in 3 subjects), maximum, average
Member Methods:
(i) A parameterized constructor to initialize the data members
(ii) To accept the details of a student
(iii) To compute the average and the maximum out of three numbers
(iv) To display the name, age, marks in three subjects, maximum and average
Write a main method to create an object of a class and call the above member methods.

Answers

Answered by monarajputchiku
0

Answer:

write ans is 3

hope this helpful

Similar questions