fork download
  1. #include<stdio.h>
  2. #include<math.h>
  3. int main()
  4. {
  5. int i;
  6. i=1;
  7. do
  8. {
  9. printf("%d",i);
  10. i+=2;
  11. }
  12. while(i<=10);
  13. return 0;
  14. }
Success #stdin #stdout 0s 5548KB
stdin
46
stdout
13579