2023-04-24 02:03:31 +00:00
|
|
|
import "tests/print.em"
|
|
|
|
|
2023-04-24 23:06:35 +00:00
|
|
|
int stuff[] = { 5, 7, 9 };
|
|
|
|
|
2023-04-24 02:03:31 +00:00
|
|
|
int :: main() {
|
|
|
|
int x;
|
|
|
|
int y;
|
|
|
|
for (x = 0; x < 5; x++) {
|
2023-04-24 23:06:35 +00:00
|
|
|
y = 0;
|
2023-04-24 02:03:31 +00:00
|
|
|
switch(x) {
|
|
|
|
case 1: {
|
2023-04-24 23:06:35 +00:00
|
|
|
y = stuff[0];
|
2023-04-24 02:03:31 +00:00
|
|
|
break; }
|
2023-04-24 02:57:58 +00:00
|
|
|
case 2:
|
2023-04-24 23:06:35 +00:00
|
|
|
y = stuff[1];
|
2023-04-24 02:57:58 +00:00
|
|
|
break;
|
2023-04-24 02:03:31 +00:00
|
|
|
case 3:
|
2023-04-24 23:06:35 +00:00
|
|
|
y = stuff[2];
|
2023-04-24 02:03:31 +00:00
|
|
|
default:
|
|
|
|
y = 100;
|
|
|
|
}
|
|
|
|
|
|
|
|
printf("%d\n", y);
|
|
|
|
}
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|