zfhridoy47

loop_problem_2

Jun 25th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.14 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.  
  5. int n,i;
  6.  scanf("%d",&n);
  7.  i=n;
  8.  while(i>=1)
  9.  {
  10.      printf("%d\n", i);
  11.      i--;
  12.  }
  13. return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment