Visual Studio Code – i want this to make an error message if the user isnt using the right format, but it just displays this
It just displays this instead of the error warning I made: Here is how I want it to be: And here is my code: Console.Write("Masukkan Tinggi Segitiga: "); int tinggi = Convert.ToInt32(Console.ReadLine()); if (tinggi > 0) { for (int x…