fork download
  1. #include <stdio.h>
  2.  
  3. void increasing(int n){
  4. if(n==0) return;
  5. increasing (n-1);
  6. printf("%d",n);
  7. }
  8.  
  9. int main() {
  10. int x;
  11. printf("Enter the value of x: \n");
  12. scanf("%d",&x);
  13. increasing(x);
  14.  
  15.  
  16. return 0;
  17. }
  18.  
Success #stdin #stdout 0s 5300KB
stdin
100
stdout
Enter the value of x: 
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100