fork download
  1. #include <stdio.h>
  2. // AYDA FILICHE 4SC
  3. int main(void) {
  4. int M = 5, n = 10;
  5. int count = 0;
  6.  
  7. for (int i = n;count < M; i++) {
  8. if (i % 2 != 0) {
  9. printf ("%d", i);
  10. count++;
  11. }
  12. }
  13. printf("\n");
  14.  
  15. return 0;
  16. }
  17.  
Success #stdin #stdout 0s 5288KB
stdin
5
10
stdout
1113151719