public static void Main()
Console.WriteLine("Enter a value for the first angle:");
firstangle = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter a value for the second angle:");
secondangle = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter a value for the third angle:");
firstangle = Convert.ToInt32(Console.ReadLine());
sum = firstangle + secondangle + thirdangle;
Console.WriteLine("The triangle is valid");
Console.WriteLine("The triangle is not valid");