The program is an illustration of the loop and functions
- Loops are used to perform repetitive operations
- Functions are named code segments that ar executed when called or evoked
<h3>The main program</h3>
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:
brainly.com/question/19347842