0% found this document useful (0 votes)
9 views1 page

Demo4 Phy

Uploaded by

pawan975940
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views1 page

Demo4 Phy

Uploaded by

pawan975940
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

# write a program to find maximum between two number

# a=int(input("enter the number: "))


# b=int(input("enter the number: "))
# if (a > b):
# print("a is greater")
# elif (a < b):
# print("b is greater")
# else:
# print("both are equal")

# write a program to find maximum between three numbers


# a=int(input("enter the number: "))
# b=int(input("enter the number: "))
# c=int(input("enter the number: "))
# if (a > b) and (a > c):
# print("a is greater")
# elif (b > c) and ( b > a):
# print("b is greater")
# else:
# print("c is greater")

# write a program to find given number is postive negative or zero


# a=int(input("enter the number: "))
# if (a > 0):
# print("number is positive")
# elif (a < 0):
# print("number is negative")
# else:
# print("number is zero")

# write a program to find middel number


a=int(input("enter the number: "))
b=int(input("enter the number: "))
c=int(input("enter the number: "))
if (a>b and a<c) or (a<b and b>c):
print()

You might also like