Q7.Write a programbfor following specification:
Classname::Student
Datamembers:Name,Englishmark,Mathsmark,Computermark,Average,Grade.
Membermethods:
Student(): constructor to initialize data members.
voidinput(): to input name and marks in 3 subjects
voidcalcavg(): to calculate and store the average and grade
Averagemarks grade
>=90 A++
>=75 & <90 A>=60 & <75 B
<60 C
voiddisplay(): to display the details of the student
Write the main method to invoke the member methods.
Answers
Answered by
0
Please ask short questions.
Please Make My Answer as Brainleist And Follow Me And Thank Me
Answered by
0
plz ask short questions.....
Similar questions