You are on page 1of 1

Question no 2.

18
(Comparing Integers) Write a program that asks the user to enter two
integers, obtains the numbers from the user, then prints the larger number
followed by the words "is larger." If the numbers are equal, print the message
"These numbers are equal."

You might also like