Assignment # 1
Topic covered: Introduction To Class and Object with set and get method
1. Write C++ program to create class Student with following details and write menu driven program to get student details, display student details and display score details of student.
Student
|
-Student_ID: String
-Student_Name: String
-OOP2_Score:double
-Maths_Score:double
-English_Score:double
|
+setStudent_ID(String)
+getStudent_ID():String
+setStudent_Name(String)
+getStudent_Name():String
+setOOP2_Score(double)
+getOOP2_Score():double
+setMaths_Score(double)
+getMaths_Score():double
+setEnglish_Score(double)
+getEnglish_Score():double
+getAverage_Score():double
+getTotal_Score():double
|
Special Note : In class diagram + for public, - for private
Do'stlaringiz bilan baham: |