-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcourse.h
More file actions
38 lines (33 loc) · 1017 Bytes
/
Copy pathcourse.h
File metadata and controls
38 lines (33 loc) · 1017 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
#ifndef COURSE_H
#define COURSE_H
#include <string>
#include "Semester.h"
using namespace std;
using namespace team3Distler;
namespace team3Belashov
{
class Course
{
private:
int grade;
Semester semesterTaken;
string courseNumber, description, method, status;
public:
Course(string courseNumber = "unknown", Semester semesterTaken = Semester(), string description = "unknown",
string method = "unknown", int grade = 100, string status = "unknown");
Course(const Course& s);
void setCourseNumber(string courseNumber);
void setCourseDescription(string description);
void setSemesterTaken(Semester semesterTaken);
void setDeliveryMethod(string method);
void setCurrentStatus(string status);
void setGradeEarned(int grade);
string getCourseNumber() const;
string getCourseDescription() const;
Semester getSemesterTaken() const;
string getDeliveryMethod() const;
string getCurrentStatus() const;
int getGradeEarned() const;
};
}
#endif