Starlit Daily

📚 › C

3. Conditions and loops

Este artículo se traducirá automáticamente. Por ahora se muestra en inglés.

if, else and switch make decisions. for and while repeat code. Braces group the lines that belong to a block.

Ver ejemplo

for (int i = 1; i <= 3; i++) {
  printf("%d\n", i);
}

← Volver al curso