A XYZ Engineering college fixed the concession for fees during admission, The concession was given for the students base

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

A XYZ Engineering college fixed the concession for fees during admission, The concession was given for the students base

Post by answerhappygod »

A XYZ Engineering college fixed the concession for fees during admission, The concession was given for the students based on the marks obtained in the Maths, Physics and Chemistry. The sports mark is also added for finding the average if the sports
certificates for state, national level is obtained by the student.
First Base class for student is created, get the student id and student name;
Derived class marks is the child class of student, get the marks obtained in maths, physics and chemistry.
Second Base class is class sports, in this class the sport marks obtained by student is obtained.
Derived class result is derived from marks and sports, calculate the total and average of the marks, assume everyone joining the admission has sports marks.
The fees collected by university is 2,00,000 Rs
if the averaqe is above 90% then fee concession is 50%
if average is from 80 to 89% then fee concession is 25%
if average is from 70 to 79% then fee concession is 10%
if average is from 60 to 69% then fee concession is 5%
Display the fees after concession.
Inputs:
1. Name of the student
2. Student ID
3. Sports marks
4. Marks in Maths, Physics, Chemistry
Outputs
1. Total
2. Average
3. Percentage
4 FpPs
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply