¡GoConqr estrena diseño! Cuéntanos qué te parece.

Mapa mental

C 4 Loops-Iteration

qinwen sun Computer Science Inglés

Contenido del mapa

C 4 Loops-Iteration

  1. 4.1 controlled iteration

    • for (initialize; guard; update) e.g.
      • e.g.  for(i = 1; i<= NUM_LINES; i=i+1):        statement
  2. 4.4 uncontrolled iteration

    • while (guard) /statement
    • Exit the loop
      • Achieve a negated guard
      • if () {break;}
        • Flag
    • do (statement) while (guard)
  3. Iterating over the input data

    • number: scanf
      • scanf('%d',&next)
    • character: getchar()
      • The int getchar(void) function reads the next available character from the screen and returns it as an integer. This function reads only single character at a time. You can use this method in the loop in case you want to read more than one character from the screen.
    • putchar(int c)

Información

Descripción
Computer Science Mapa Mental sobre C 4 Loops-Iteration, creado por qinwen sun el 28/02/2017.
Creado por
qinwen sun
Visitas
0
Valoración

Más sobre Conditionals and Loops

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?