minic/tests/18.test
2022-01-27 16:31:58 +01:00

25 lines
326 B
Plaintext

int main()
{
int b = 5;
char a = 'a';
bool c = true;
float fp = 123.123;
while (c) {
b = b - 1;
puti(b);
puts("\n");
if (b <= 0) {
c = false;
} else if (b == 1) {
puts("elif1\n");
} else if (b == 2) {
puts("elif2\n");
} else if (b == 3) {
puts("elif3\n");
}
}
puts("false\n");
return 0;
}