Control Flow
✓ Completed
Master if/else, switch, while, for, and do-while. Learn how to structure decision-making and iteration in C programs.
c
for (int i = 1; i <= 5; i++) {
printf(i % 2 == 0 ? "even\n" : "odd\n");
}