Draw a flowchart and create a program that check the weight of the users baggage. The standard baggage is 20kg.An additional charge of PHP 200 per kilogram will be incured when it is exceeded. Pls help me
weight=float(input("Enter the weight of the user baggage: "))
additionalCharge=0
if weight>200:
additionalCharge=(weight-200)*200
print(f"Additional charge: PHP {additionalCharge}")
Comments
Leave a comment