Computer Science, asked by sacchit2727, 6 months ago

3) Write a Python program to enter two numbers say a and b.The first variables
greater than the second print accordingly else otherwise. In case both the
numbers are equal print 'equal'​

Answers

Answered by RaviKumarhacker
0

Explanation:

A=INT(INPUT("ENTER 1ST NO."))

B=INT(INPUT("ENTER 2ND NO."))

IF (A>B):

PRINT(A,B)

IF (B>A):

PRINT(B,A)

ELSE:

PRINT("EQUAL")

Similar questions