write aprogram to calculate profit percentage from the sales of good that you made
Answers
Answered by
3
Answer:
Python Program to Calculate Profit or Loss
CP = float(input( Please Enter the Cost Price of the product: ) SP = float(input(* Please Enter the Sale Price of the product: )
if(CP> SP):
amount = CP - SP
print Total Loss Amount = (0)".format(amount))
elif(SP > CP):
amount = SP - CP
print("Total Profit = (0)" format(amount)
else:
print("There is no Profit no Loss..."
OUTPUT
Please Enter the Cost Price of the product: 6000
Please Enter the Sale Price of the product: 4700
Total Loss Amount = 1300.0
Explanation:
HOPE IT'S HELPFUL TO YOU SO PLEASE MARK ME AS BRANLIEST.....
Similar questions
Computer Science,
3 months ago
Computer Science,
3 months ago
English,
3 months ago
English,
7 months ago
Art,
7 months ago
Math,
11 months ago