Msc1052 Spring 023 Assignment # Topic covered: Introduction To Class and Object with set and get method


Download 15.09 Kb.
Sana10.03.2023
Hajmi15.09 Kb.
#1258082
Bog'liq
Assignment-1


Inha University in Tashkent
Object Oriented Programming 2 - MSC1052
Spring 2023

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
Download 15.09 Kb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling