Advertisement
Guest User

Untitled

a guest
Jun 19th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.32 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main ()
  5. {
  6.     int i, j, quant;
  7.     printf("Entre com a quantidade de linhas: ");
  8.     scanf(" %d", &quant);
  9.    
  10.     for (i=quant ; i>0 ; i--){
  11.         for (j=i ; j > 0 ; j--)
  12.             printf("@ ");
  13.     printf("\n");
  14.     }
  15.     printf("\n\n\n");
  16.     system ("pause");
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement