Guest User

Untitled

a guest
Oct 11th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.41 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main ()
  5. {
  6.     int asteristico, ponto;
  7.  
  8.     for (ponto = 0; ponto < 5; ponto++)
  9.     {
  10.         for (asteristico = 0; asteristico < 5; asteristico++)
  11.         {
  12.             if (ponto>asteristico)
  13.             {
  14.                 printf(".");
  15.             }
  16.             else
  17.             printf("*");
  18.         }
  19.         printf ("\n");
  20.  
  21.         return (0);
  22.     }
  23. }
Add Comment
Please, Sign In to add comment