Answer to Question #294058 in Python for shravani

Question #294058

write a python programs that accepts three inputs x,y,z print true if x*y>z otherwise false


1
Expert's answer
2022-02-05T02:04:29-0500
#accept inputs as float
x = float(input("Enter the value of x: "))
y = float(input("Enter the value of y: "))
z = float(input("Enter the value of z: "))
if ((x*y)>z):
    print("True")
else:
    print("False")

#OR

x = 10
y = 2
z =4
if (x*y>z):
    print("True")
else:
    print("False")

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS