+ 1

Hovercraft You run a hovercraft factory. Your factory makes ten hovercrafts in a month. Given the number of customers

Order= int(input()) Sales= order*300000 Cost=20000000 balance=int(Sales -21000000) if balance >0: print ('profit') elif balance ==0: print ('Broke Even') else: print ('loss')

28th Jul 2020, 7:05 PM
Malaz Adam Asaker Mohammed
Malaz Adam Asaker Mohammed - avatar
1 Resposta
+ 2
Malaz Adam Asaker Mohammed , in the second line of your code should be 3 000 000 instead of 300 000. First letter of "profit" and "loss" should be capital.
28th Jul 2020, 7:14 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar