Control flow while loop

Nasza ocena:

Wyświetleń: 651
Komentarze: 0

Pobierz ten dokument za darmo

Podgląd dokumentu
Control flow while loop - strona 1

Fragment notatki:

Control flow: the while loop while (condition) { instruction(s) } • The condition in parentheses is tested. • If it is true , the body of the loop (statements enclosed in braces) is executed. • Then the condition is re-tested, and if true, the body is executed again. • When the test becomes false , the loop ends, and execution continues at the statement that follows the loop. • In C, conditions are integer expressions: 0 means false , other values mean true ... zobacz całą notatkę

Komentarze użytkowników (0)

Zaloguj się, aby dodać komentarz