You can use int i; for (i = 10; i <= 50; i += 2) {//print i} as a program to print even numbers between 10 and 50.
Apart from 2, all even numbers are composite. So the question is equivalent to all even numbers between 40 and 50. And these are ... ? 42, 44, 46 and 48.
There aren't any. 2 is the only even prime number, so no other even numbers can be prime. There can be no even numbers between 30 and 50 that are prime.
15 prime numbers are between 0 and 50
50.
There are exactly 50 even numbers if you include 100. There are exactly 50 odd numbers if you include 1.
50
2, 4, 6, ..., 50; 25 numbers.
All even numbers between 50 and 80 are composite.
30,32,34,36,38,40,42,44,46,48, and 50.
There are 50.
You can use int i; for (i = 10; i <= 50; i += 2) {//print i} as a program to print even numbers between 10 and 50.
There are infinitely many numbers between 34 and 50 and so infinitely many sets of 4 numbers.
Apart from 2, all even numbers are composite. So the question is equivalent to all even numbers between 40 and 50. And these are ... ? 42, 44, 46 and 48.
There aren't any. 2 is the only even prime number, so no other even numbers can be prime. There can be no even numbers between 30 and 50 that are prime.
15 prime numbers are between 0 and 50
50.