-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathswitchs.cpp
More file actions
30 lines (27 loc) · 851 Bytes
/
switchs.cpp
File metadata and controls
30 lines (27 loc) · 851 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
#include <iostream> //just a library thing
#include <cmath>
using namespace std;
//use all the standard stuff in c++
int main() {
//switch
int agentRank = 4;
switch(agentRank){
case 1:
cout << "you have rookie digimon" << endl;
break;
//end the switch as you found your mark
//break is just normal python stuff as well ^.^
case 3:
cout << "you can have champion digimon" << endl;
break;
case 5:
//idk what higher level are <(_ _)>
//just got into this fandom
cout << "you can get a higher level of digion" << endl;
break;
default:
cout << "your digimon gets better stats" << endl;
//this is the end anyway lol
}
//helps with not spaming ifelse
}