56.1k views
2 votes
write an algorithm that reads to values, determines the largest value and prints the largest value with an identifying message ​

User Inlanger
by
6.7k points

1 Answer

3 votes

Answer:

I'm unsure of what language you are referring to, but the explanation below is in Python.

Step-by-step explanation:

a = int(input("Input your first number: "))

b = int(input("Input your second number: "))

c = int(input("Input your third number: "))

maximum = max(a, b, c)

print("The largest value: ", maximum)

User Jenner Felton
by
6.6k points