CodeSolved

Solved Programming Questions & Exercises

The largest number received

Practice Easy 6/ Download 7050 Views Most popular

Write a program that gets 3 numbers and prints the most in the output

55 Answers

This answer is only visible to premium members
This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error'
alert(msg) 
This answer is only visible to premium members
This answer is only visible to premium members

This answer is only visible to premium members

Subscription is currently unavailable.
This answer is only visible to premium members
This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error'
alert(msg) 
This answer is only visible to premium members
This answer is only visible to premium members

This answer is only visible to premium members

Subscription is currently unavailable.
This answer is only visible to premium members
This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error'
alert(msg) 
This answer is only visible to premium members
This answer is only visible to premium members

This answer is only visible to premium members

Subscription is currently unavailable.
one = float (input("enter nambers :"))
two = float (input("enter nambers :"))
three = float (input("enter nambers :"))
if three and two < one :
    print (one)

if one and three < two :
    print (two)

if one and two < three :
    print (three)
User 3300 Download Python
num1 = float(input("لطفاً عدد اول را وارد کنید: "))
num2 = float(input("لطفاً عدد دوم را وارد کنید: "))
num3 = float(input("لطفاً عدد سوم را وارد کنید: "))

# Find the largest number
largest = max(num1, num2, num3)

# Printing the largest number
print("بزرگ‌ترین عدد وارد شده:", largest)
Mma123 Download Python
h=int(input('1:'))
n=int(input('2:'))
v=int(input('3:'))
if v>n>h or v>h>n:
    print(v)
elif n>v>h or n>h>v:
    print(n)
elif h>n>v or h>v>n :
    print(h)

a = int(input('a: '))
b = int(input('b: '))
c = int(input('c: '))

max = 0
if a > max :
    max = a
if b > max :
    max = b
if c > max :
    max = c
print(max)
Akams Download Python
a1=int(input("Enter number1: "))
a2=int(input("Enter number2: "))
a3=int(input("Enter number3: "))
if a1>a2:
    if a1>a3:
        print(a1)
    else:
        print(a3)
elif a2>a3:
    print(a2)
else:
    print(a3)
Saeeda33 Download Python
add1 = int(input("add1 :"))
add2 = int(input("add2 :"))
add3 = int(input("add3 :"))
if add1 > add2 :
    if add1 > add3 :
        print(add1)
elif add2 > add3:
    print(add2)
else:
    print(add3)
User 3026 Download Python
print("Please enter numbers greater than zero")
x= float(input("enter namber1"))
# Getting the first number from the user
y= float(input("enter namber2"))
# Getting a second number from the user
z= float(input("enter namber3"))
# Getting a third number from the user
max= 0
if x>max:
    max=x
if y>max:
    max=y
if z>max:
    max=z
print("The largest number between",x,y,z, "is", max)
Chef.nasim Download Python
<< Previous page 1 2 6 Next page >>

Submit answer

Submitting answers is currently unavailable.

Related content

Detection using AI
×
×
Close