0

How do I write a C program that generate odd numbers from 250 to 1000 using the for statement. test to ... continue in descripti

How do I write a C program that generate odd numbers from 250 to 1000 using the for statement. test to determine, then print (list) each odd number divisible by 5 and compute the average of those odd numbers divisible by 5?

19th Dec 2017, 1:14 AM
Stefan
Stefan - avatar
1 Answer
+ 8
Well, you could try it yourself, and if you get stuck then post your code so we can help you. 😉 (Hint: all numbers that are odd that are divisible by 5 are those that end in 5.)
19th Dec 2017, 1:42 AM
blackcat1111
blackcat1111 - avatar