Answer:
Step-by-step explanation:
Let's do this in python
(a) Between 5 and 60 and divisible by 5
for i in range(5, 60/5):
print(5*i)
(b) Less than 200 and divisible and 2 and 7
for i in range(1, int(200/14) + 1):
print(14*i)
(c)Sum of multiple of 8 that are between 100 and 500
sum_result = 0
for i in range(100, 500):
if i % 8 == 0:
sum_result += i
print(sum_result)
(d)sum of all odd numbers between 20 and 10
sum_odd = 0
for i in range(10, 20):
if i % 2 == 1:
sum_odd += i
print(sum_odd)