-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlab9_1.cpp
35 lines (33 loc) · 982 Bytes
/
lab9_1.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
#include <iostream>
using namespace std;
int main()
{
char rank;
cout << "Input your rank: ";
cin >> rank;
if (rank == 'S'){
cout << "You have received Super Ultra Rare Unit!!!\n";
cout << "You have received 5 gems.\n";
cout << "You have received 1 gems.\n";
cout << "You have received 2000 coins.\n";
cout << "You have received very KAK items.\n";
}
else if (rank == 'A'){
cout << "You have received 5 gems.\n";
cout << "You have received 1 gems.\n";
cout << "You have received 2000 coins.\n";
cout << "You have received very KAK items.\n";
}
else if (rank == 'B'){
cout << "You have received 1 gems.\n";
cout << "You have received 2000 coins.\n";
cout << "You have received very KAK items.\n";
}
else if (rank == 'C'){
cout << "You have received 2000 coins.\n";
cout << "You have received very KAK items.\n";
}
else if (rank == 'D')
cout << "You have received very KAK items.\n";
return 0;
}