Slip 21 - B) Create a class Student with data members RollNo, Name, PRN number. Derive class Marks from student with data members M_PHP, M_OS, M_CPP, M_Networking and derive a class Result from class Marks with members (Total_Marks, Percentage, Grade). (Use Interface Concept) Write a Menu driven program in PHP to perform the following operations i. Accept Student Information ii. Display Student Information with its result.

Post a Comment

0 Comments