2023-04-10 11:17:11 -04:00
|
|
|
void main() {
|
|
|
|
int a;
|
|
|
|
a = 3;
|
|
|
|
println("This program prints [1..5] correct.");
|
|
|
|
if (a < 4) {
|
|
|
|
println("1 correct");
|
|
|
|
}
|
|
|
|
if (a > 4) {
|
|
|
|
println("2 not correct");
|
|
|
|
}
|
|
|
|
if (a > 4) {
|
|
|
|
println("2 not correct");
|
|
|
|
} else {
|
|
|
|
println("2 correct");
|
|
|
|
}
|
|
|
|
if (a <= 3) {
|
|
|
|
println("3 correct");
|
|
|
|
}
|
|
|
|
if (a == 3) {
|
|
|
|
println("4 correct");
|
|
|
|
}
|
2023-04-23 02:24:42 -04:00
|
|
|
if (a != 4) {
|
2023-04-10 11:17:11 -04:00
|
|
|
println("5 not correct");
|
|
|
|
} else {
|
|
|
|
println("5 correct");
|
|
|
|
}
|
|
|
|
}
|