Answer:
The program in Python is as follows:
num1 = int(input())
num2 = int(input())
if num2 < num1:
print("Second integer can't be less than the first.")
else:
for i in range(num1,num2+1,5):
print(i,end=" ")
Explanation:
This gets the first integer from the user
num1 = int(input())
This gets the second integer from the user
num2 = int(input())
If the second is less than the first, the following prompt is printed
<em>if num2 < num1:</em>
<em> print("Second integer can't be less than the first.")</em>
If otherwise, the number between the intervals is printed with an increment of 5
<em>else:</em>
<em> for i in range(num1,num2+1,5):</em>
<em> print(i,end=" ")</em>
<em />