No products in the cart.

Write a program to accept three …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Write a program to accept three integers and print the largest of the three.
  • 1 answers

Sia ? 3 years, 8 months ago

x = y = z = 0
x = float( input("Enter the first number:"))
y = float(input("Enter the second digit number:"))
z = float (input("Enter the third number:"))
max = x
if y > max:
max = y
print("Largest number is",max)

http://mycbseguide.com/examin8/

Related Questions

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App