Assignment 2 Fall19. I need Solution? Anyone?
#1
Problem Statement
Write a program containing three classes Person, Student, and Exam for an Examination database using Inheritance. Class Person is the base class, Student is the intermediate base class, and Exam is the derived class. The Student class should inherit the properties of Person class whereas, the Exam class should inherit the properties of Student class (directly) and properties of Person class (indirectly). Implement the model shown in figure using the following hints.
Data Members
Person Class: Name, Gender Age
Student Class: RollNo, Subject
Exam Class: Sub1Marks, Sub2Marks
Member Functions
You are required to write the following member functions for all three classes:
·         readData()
·         displayData()


Attached Files Thumbnail(s)
   
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  CS304 Assignment 2 Solution Fall 2017 Admin 0 3,445 11-23-2017, 09:08 PM
Last Post: Admin
  CS304 Assignment 1 Solution Fall 2017 Pakistani 0 4,596 11-06-2017, 10:58 AM
Last Post: Pakistani
  CS304 Assignment 1 Solution - Fall 2016 Admin 1 4,437 11-10-2016, 08:45 AM
Last Post: Pakistani
  CS304 assignment #3 2nd solution Rubaisha(Moody Girl) 0 1,277 07-30-2016, 07:47 PM
Last Post: Rubaisha(Moody Girl)
  CS304 Assignment #3 solution Rubaisha(Moody Girl) 4 2,817 07-30-2016, 12:35 PM
Last Post: Rubaisha(Moody Girl)
  Cs 304 assignment no 3 solution ppt slides 2016 dil 3 2,558 07-30-2016, 12:18 PM
Last Post: Admin
  CS304 Assignment 1 Solution Admin 3 4,846 05-24-2016, 07:58 AM
Last Post: Admin



Users browsing this thread:
1 Guest(s)