+ 1

Hey please help

You run a hovercraft factory. Your factory makes ten hovercrafts in a month. Given the number of customers you got that month, did you make a profit? It costs you 2,000,000 to build a hovercraft, and you are selling them for 3,000,000. You also pay 1,000,000 each month for insurance. Task: Determine whether or not you made a profit based on how many of the ten hovercrafts you were able to sell that month. Input Format: An integer that represents the sales that you made that month. Output Format: A string that says 'Profit', 'Loss', or 'Broke Even'. Sample Input: 5 Sample Output: Loss https://code.sololearn.com/cH99vjLfU4xq/?ref=app

22nd Apr 2022, 4:55 PM
Namatovu Najah
2 Respostas
+ 1
Complete the code.. String is represented by double quotes in c++. For code coach, you just need print result output only.. As specified in description.. No extra or less character on output..
22nd Apr 2022, 5:26 PM
Jayakrishna 🇮🇳
0
Now perfect but use Capital E in "Broke even" "Broke Even"
23rd Apr 2022, 10:20 AM
Jayakrishna 🇮🇳