Computer Science, asked by srikantkumar29661, 11 months ago

Write a program to relate 2 integers entered by user as equal yo, less than or greater than

Answers

Answered by fares
0

Answer:

def two_numbers_relation ( x, y ):

   if x == y :    

             print(x, " is equal ", y)

   elif x > y :  

             print(x, " is greater than ", y)

   else:        

             print(x, " is less than ", y)

Explanation:

written in Python

Similar questions