fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. /* int n;
  5.   printf("Enter the number: ");
  6.   scanf("%d",&n);*/
  7. int a=100;
  8. for(int i=1;a>0;i++){
  9. printf("%d ",a);
  10. a=a-3;
  11. }
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0s 5308KB
stdin
34
stdout
100 97 94 91 88 85 82 79 76 73 70 67 64 61 58 55 52 49 46 43 40 37 34 31 28 25 22 19 16 13 10 7 4 1