You are on page 1of 5

@author: Pandhu

"""

Height=int(input("Your height in cm: "))


Gender = input("Male|Female: ")
W=int(input("Your weight in kg: "))
X=input("BMI (WHO|Asia): ")

# Broca's formula
Weighta=Height-100
print("Acoording to broca's formula")
print("Your ideal weight in kg: "+str(Weighta))

#Ideal Body Weight


if Gender=="Male":
Weight=(Height-100)-((Height-100)*0.1)
print("Acoording to IBM formula")
print("Your ideal weight in kg: "+str(Weight))
elif Gender=="Female":
Weight=(Height-100)-((Height-100)*0.15)
print("Acoording to IBM formula")
print("Your ideal weight in kg: "+str(Weight))
else:
print ('Invalid')

#IBM Formulas
IBM=(W/((Height/100)**2))

if X=="WHO":
if IBM<18.5:
print('skinny')
elif IBM>18.5 and IBM<=24.9:
print('normal')
elif IBM>25 and IBM<=29.9:
print('overweight')
elif IBM>30:
print('obesity')
else:
print("not found")
elif X=="Asia":
if IBM<18.5:
print('skinny')
elif IBM>18.5 and IBM<=22.9:
print('normal')
elif IBM>23 and IBM<=24.9:
print('overweight')
elif IBM>25:
print('obesity')
else:
print("not found")
else:
print('Invalid Input')
@author: Pandhu
"""
print("================================== PT. LED TV Indonesia
=======================================")

print("Operating Expenses-------= Rp 500,000")


print("COGS---------------------= Rp 300,000")
print("LED TV Price Per Unit----= Rp 1,000,000")
print("Sales Discount Per Unit--= Rp 0.5% ")
sold=float(input("Total LED TV Sold--------= "))
price=1000000
total=sold*price
print("Total Sales--------------= Rp",total)
netsales=total-(total*5/1000)
print("Net Sales----------------= Rp",netsales)
gross=netsales-(sold*300000)
print("Gross Profit-------------= Rp",gross)
net=gross-500000
print("Net Income---------------= Rp",net)

You might also like