-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstudent_manager.cpp
More file actions
55 lines (42 loc) · 979 Bytes
/
Copy pathstudent_manager.cpp
File metadata and controls
55 lines (42 loc) · 979 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#include "student_manager.h"
#include "student.h"
/* StudentManager */
int StudentManager::last_student_id = 1000;
void StudentManager::addStudent(char const* name, float midterm, float final) {
int id = ++last_student_id;
/* TODO */
}
void StudentManager::deleteStudent(int id) {
/* TODO */
}
void StudentManager::modifyStudent(const Student& student) {
/* TODO */
}
int StudentManager::findStudentByID(int id) const {
/* TODO */
return -1;
}
int StudentManager::findBestStudentInMidterm() const {
/* TODO */
return -1;
}
int StudentManager::findBestStudentInFinal() const {
/* TODO */
return -1;
}
int StudentManager::findBestStudent() const {
/* TODO */
return -1;
}
float StudentManager::getMidtermAverage() const {
/* TODO */
return 0.0f;
}
float StudentManager::getFinalAverage() const {
/* TODO */
return 0.0f;
}
float StudentManager::getTotalAverage() const {
/* TODO */
return 0.0f;
}