0
Friends Can you tell me whats wrong with this cod? I solve this cod coach but still test 3 and 4 dont accept it!!
static void Main(string[] args) { //this is Code Coach of C# //with HoverCraft factory int Cost = 21000000; int Sell = Convert.ToInt32(Console.ReadLine()); int InCome = (Sell * 3000000) - Cost; if (InCome < 0) Console.WriteLine("Lose"); else if (InCome == 0) Console.WriteLine("Broke Even"); else Console.WriteLine("Profit"); }
3 Answers
+ 9
It's `Loss` not Lose
+ 1
Tnx
0
Omg how can i miss that đđđđđđ