Advertisement
Tariqul_Islam

Problem from Fahim 01

Sep 2nd, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.28 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int count=0,i;
  5.     for(i=1000;i>=1;i--)
  6.     {
  7.         count++;
  8.         if(count<=4)
  9.         {
  10.             printf("%d\t",i);
  11.         }
  12.         else
  13.         {
  14.           printf("%d\n",i);
  15.           count=0;
  16.         }
  17.     }
  18.     return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement