Question: Design a class Grading with the methods, get _ RegNo ( ) and put _ RegNo ( ) to read and display the Reg _

Design a class Grading with the methods, get_RegNo() and put_RegNo() to read and display the
Reg_No of each student and get_ Acad() and put_Acad() to read and display their marks in 5
subjects(Maximum mark in each subject is 100). Declare the Reg_No & marks as private data members.
Create an interface called Co_Curricular with get_Score() to read the points scored in Co-curricular
activities (Maximum score is 100) and methods put_Score() that will display the score obtained by a
student in Co_Curricular activities. Design a class called Result that will implement the methods
get_Score() to put_Score() and generate the final score (Maximum score is 100) based on the marks
obtained from the Co-Curricular activities (20%) and the Academic score(80%) obtained from the
superclass Student. Write a demo class to create an object of Result class, input the details and display
the final score

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!