-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathq016.cpp
More file actions
53 lines (46 loc) · 1.35 KB
/
q016.cpp
File metadata and controls
53 lines (46 loc) · 1.35 KB
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
//estou fazendo um tutorial mais rápido pq não podemos abobiar
#include <iostream>
int main(){
int x;
std::cout << "digite uma nota (0-10) "<<std::endl;
std::cin >> x;
switch (x){
case (0):
std::cout << "voce tirou uma nota baixissima." <<std::endl;
break;
case (1):
std::cout << "voce tirou uma nota beeem baixa." <<std::endl;
break;
case (2):
std::cout << "voce tirou uma nota horrivel." <<std::endl;
break;
case (3):
std::cout << "voce tirou uma nota meio baixa." <<std::endl;
break;
case (4):
std::cout << "voce tirou uma nota baixa." <<std::endl;
break;
case (5):
std::cout << "voce tirou uma nota mais ou menos." <<std::endl;
break;
case (6):
std::cout << "voce tirou uma nota pouco boa." <<std::endl;
break;
case (7):
std::cout << "voce tirou uma nota boa." <<std::endl;
break;
case (8):
std::cout << "voce tirou uma nota ótima." <<std::endl;
break;
case (9):
std::cout << "voce tirou uma nota incrível." <<std::endl;
break;
case (10):
std::cout << "voce tirou uma nota extraordinária." <<std::endl;
break;
default:
std::cout << "a nota precisa ser entre 0 e 10." <<std::endl;
break;
}
return 0;
}