Advertisement
Guest User

Untitled

a guest
Mar 18th, 2018
67
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.  
  3. int
  4. main ()
  5. {
  6. int a,b,i,j,sum=0,t1=1,t2,t3,n;
  7.  
  8.  
  9. scanf("%d",&n);
  10.  
  11.  
  12. for(i=0;i<n;i++)
  13. {
  14.  
  15. for(j=0;j<3;j++)
  16. {
  17.  
  18. printf("%d ",t1);
  19. t1=t1+1;
  20.  
  21. }
  22. t1=t1+1;
  23.  
  24.  
  25. printf("PUM\n");
  26. }
  27.  
  28.  
  29. return 0;
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement