Advertisement
campos20

Untitled

May 10th, 2020
1,034
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.33 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. // Continue
  5. // Autor: Alexandre Campos
  6.  
  7. int main()
  8. {
  9.     int maximo = 20;
  10.  
  11.     for (int i=0; i<=maximo; i++){
  12.         if (i == 18){
  13.             // Sai momentaneamente do laco
  14.             continue;
  15.         }
  16.  
  17.         printf("Numero atual: %d\n", i);
  18.     }
  19.  
  20.     return 0;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement