Answer:
In Python:
num1 = int(input("Num 1: "))
num2 = int(input("Num 2: "))
big = num2; small = num1
if num1 > num2:
big = num1; small = num2
for nms in range(small,big+1,5):
print(nms,end = " ")
Explanation:
This prompt the user for two numbers
<em>num1 = int(input("Num 1: "))</em>
<em>num2 = int(input("Num 2: "</em>))
This initializes the biggest of the 2 to num1 and the smallest to num2
<em>big = num2; small = num1</em>
<em>If num1 is bigger than num2, big and small are swapped</em>
<em>if num1 > num2:</em>
<em> big = num1; small = num2</em>
This iterates from the small to big number with an increment of 5
for nms in range(small,big+1,5):
This prints each number
print(nms,end = " ")