fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int a=0,b=0;
  6. while(b<=9){
  7. while(a<=b){
  8. printf("%d",a);
  9. a=a+1;}
  10. printf("\n");
  11. b=b+1;}
  12.  
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 5324KB
stdin
Standard input is empty
stdout
0
1
2
3
4
5
6
7
8
9