Computer Science, asked by varadsinghking, 5 hours ago

Write a C++ program to perform the following tasks:

(i) Create ‘Student’ class, with two data members: name and Branch_Number ;

Branch_Number is an integer and name is a string. The value of Branch_Number is 1 for CSE

student and 2 for ECE student.

(ii) Derive two classes ‘CSE’ and ‘ECE’. There are three subjects in each branch. Marks obtained

in each subject is considered as data members. In other word, for the class CSE, the data

members are CSE_sub1_marks, CSE_sub2_marks and CSE_sub3_marks. Similarly, for class

ECE, the data members are ECE_sub1_marks, ECE_sub2_marks and ECE_sub3_marks.

(iii) Input appropriate data from the keyboard for 2 CSE and 3 ECE Students. Write necessary

function to get data.

(iv) Display Branch_Number, name, marks for CSE students first and then for ECE students​

Answers

Answered by chetanreddy839
0

not defined because no one cod

Similar questions