Computer Science, asked by chrisalookaran2007, 5 months ago

Write a program to accept user’s input and print the greater of the two numbers

Answers

Answered by sarikav952
10

Answer:

Program to find the greatest of two numbers and greatest of three numbers is discussed here. Input two or integers from the user and find the greatest number among them.

Input & Output format:

Input consists of 2 integers.

Sample Input and Output :

7

9

5

9 is greater.

Explanation:

Answered by valeriy69
5

numbers = input("Enter 2 numbers: ").split()

ints = [int(num) for num in numbers]

print(max(ints))

\small\mathsf\color{lightblue}useful?\: \color{white}\mapsto\: \color{gold}brainliest

Similar questions