152
The first 10 positive odd numbers are 1, 3, 5, 7, 11, 13, 17, 19, 23, and 29.
10.
101
There are 5 odd numbers between 10 and 20: 11, 13, 15, 17, 19
for (int i = 2; i < 10; i ++) printf("%d\n", i); You did say even and odd numbers between 1 and 10. That's allnumbers between 1 and 10.
152
The odd numbers between 1 and 10 are 1, 3, 5, 7, and 9.
10
The first 10 positive odd numbers are 1, 3, 5, 7, 11, 13, 17, 19, 23, and 29.
24
10.
101
There are 5 odd numbers between 10 and 20: 11, 13, 15, 17, 19
15
15
The numbers between 10 and 20 that are not prime are 12, 14, 15, 16 and 18. So 15 is the odd number and the rest are even numbers.