The program is an illustration of the loop and functions
The program written in Python, where comments are used to explain each action is as follows:
#This function validates the user input
def validateUserInput(firstNum, secondNum):
if firstNum >= secondNum:
return False
return True
See attachment for the complete program
Read more about loops at:
https://brainly.com/question/19347842