-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_code.c
More file actions
65 lines (52 loc) · 922 Bytes
/
test_code.c
File metadata and controls
65 lines (52 loc) · 922 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
void main(){
int a, b;
float c = 12.34e+24;
print("Hola Mundo");
}
void main(){
int a, b;
float c = 12.34e+24;
if(a > b && c == a){
print("a > b");
}
else {
print("a < b");
}
print("Hola Mundo");
}
void main(){
int a, b;
float c = 12.34e+24;
while(a == c || a!=0){
if(a > b && c == a){
print("a > b");
}
else {
print("a < b");
}
}
print("Hola Mundo");
}
void main(){
int a, b;
float c = 12.34e+24;
float d = 1.34e-24;
float z = .34e24;
for(int j = 0; j <= 100; j++){
print("valor de j ", j);
}
print("Hola Mundo");
}
void main(){
int a, b;
float c = 12.34e+24;
switch(a){
case '1': print("Hola 1");break;
case '2': print("Hola 2");break;
case '3': print("Hola 3");break;
case '4': print("Hola 4");break;
default:
print("Hola 5");break;
}
print("Hola Mundo");
}