fork download
  1. #include <stdio.h>
  2.  
  3. int main(){
  4. int num1 = 1;
  5. while (num1 < 10){
  6. printf("\n%d" , num1);
  7. num1 = num1 + 2;
  8. }
  9.  
  10.  
  11.  
  12.  
  13. return 0;
  14. }
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
1
3
5
7
9