| 35 | ctotal(); |
| 36 | } |
| 37 | void showData() |
| 38 | { |
| 39 | |
| 40 | cout << "ID: " << student_id << endl; |
| 41 | cout << "Name: " << student_name << endl; |
| 42 | cout << "OOP2: " << OOP2_Score << endl; |
| 43 | cout << "Math: " << math_Score << endl; |
| 44 | cout << "English: " << english_Score << endl; |
| 45 | cout << "Total score: " << total_Score << endl; |
| 46 | } |
| 47 | }; |
| 48 | |
| 49 | // creating a class named "Employee" |