Want to create interactive content? It’s easy in Genially!

Get started free

Programación 5°1° Bucles Parte 2

dbiginay

Created on April 16, 2020

Start designing with a free template

Discover more than 1500 professional designs like these:

Memories Presentation

Pechakucha Presentation

Decades Presentation

Color and Shapes Presentation

Historical Presentation

To the Moon Presentation

Projection Presentation

Transcript

Programación

Bucles Parte 2

BUCLE DO-WHILE

Como pueden ver el bucle do-while tiene una estructura similar al bucle while en donde la expresión relacional se ubica al final. Este tipo de armado hace que al menos una vez se ejecute la estructura de líneas de código del bloque "do". En el bucle while se pregunta antes si la expresión relacional es verdadera. En el bucle do-while se pregunta al final.

BUCLE FOR

BUCLE FOR

NOTEN EL USO DE LA NOTACIÓN ABREVIADAD PARA SUMAR 5 UNIDADES A LA VARIABLE i: i = i; + 5 --> i += 5;

NOTEN EL USO DE LA NOTACIÓN ABREVIADAD PARA SUMAR 20 UNIDADES A LA VARIABLE x: x = x + 20; --> x += 20;

¡GRACIAS!

Lorem ipsum dolor