Question: Write a program that takes three numbers as input and displays the largest number among them. Steps: - Create a file with the name getLargest.py

Write a program that takes three numbers as input and displays the largest number among them.
Steps:
- Create a file with the name getLargest.py
- Get the three numbers from the user using the input function.
- Write the logic to check the largest number (Use if,elif and else statements).
- Display the largest number.
Sample Input:
Enter the first number: 6
Enter the second number: 3
Enter the third number: 12
Output:
The largest number is 12

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!