What is wrong with this code ?
I tried using this code on the Hovercraft code coach, but it keeps showing error. Please can anyone tell me what's wrong with it. My language is c#. Here's the code below. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SoloLearn { class Program { static void Main(string[] args) { int Sales = 21,000,000; int Hovercrafts = Convert.ToInt32(Console.WriteLine()); int Income = Hovercrafts*3,000,000; if (Income > Sales) { Console.WriteLine("Profit"); } else if (Income == Sales) { Console.WriteLine("Broke Even"); } else if (Income < Sales) { Console.WriteLine("Loss"); } else { Console.WriteLine("No match"); } } } }