blob: 5d75e4250a9683ae31d9ec82fc7556e734b0f55f (
plain) (
blame)
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
|
#pragma once
#include "University.hh"
class College {
private:
std::string college_name;
std::string college_location;
int college_rank;
double reqd_gpa_for_admit;
University university_pin;
public:
College() {}
College(std::string name, int rank, double gpa)
: college_name(name), college_rank(rank), reqd_gpa_for_admit(gpa) {}
College(std::string name, std::string location, int rank, double gpa,
University pin)
: college_name(name), college_location(location), college_rank(rank),
reqd_gpa_for_admit(gpa), university_pin(pin) {}
void set_college_name(std::string);
std::string get_college_name();
void set_college_location(std::string);
std::string get_college_location();
//......other setters and getters
// void operator==(const University&);
void print_pin(const University &);
};
|