0
May i know what's the problem with my C code? When i input 7, it's supposed to output "Broke Even" but i get "Profit"
2 odpowiedzi
+ 1
No, you have not used the input variable sales in your calculations.
and line 17 you try to use total_cost, but in line 12 you have not initialize it (means assign a value to it).
0
Alright thank you for the answer😁