fork download
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. int numero, count = 1;
  6.  
  7. printf("Digite o numero");
  8. scanf("%d",numero);
  9. while(count <= 100)
  10. {
  11. if(count%2 == 1)
  12. printf("%d ",count);
  13.  
  14. count++;
  15. }
  16. }
  17.  
Success #stdin #stdout 0s 3472KB
stdin
Standard input is empty
stdout
Digite o numero1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 97 99