-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgradeschool.cpp
55 lines (49 loc) · 1.29 KB
/
gradeschool.cpp
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 <iostream>
using namespace std;
int main()
{
int grade;
std::cout<<"Enter grade.\n";
std::cin >> grade;
switch (grade) {
case (1):
std::cout << "Elementary student\n";
break;
case (2):
std::cout << "Elementary student\n";
break;
case (3):
std::cout << "Elementary student\n";
break;
case (4):
std::cout << "Elementary student\n";
break;
case (5):
std::cout << "Elementary student\n";
break;
case (6):
std::cout << "Elementary student\n";
break;
case (7):
std::cout << "Junior High student\n";
break;
case (8):
std::cout << "Junior High student\n";
break;
case (9):
std::cout << "High School student\n";
break;
case (10):
std::cout << "High School student\n";
break;
case (11):
std::cout << "High School student\n";
break;
case (12):
std::cout << "High School student\n";
break;
default:
std::cout << "NA, you are too old then.\n";
break;
}
}