Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #include<stdio.h>
  2. int main(){
  3. int i, h;
  4. for (i=0; i<10; i++){
  5. for(h=0; h<i; h++)
  6. {
  7. printf(" ");
  8. }
  9.  
  10. printf("*****");
  11. for(h=10; i<h; h--)
  12. {
  13. printf(" ");
  14. }
  15.  
  16. printf("*****");
  17. printf("\n");
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement