public static void Main()
Console.WriteLine("enter number of the triangles you want to check");
n=Convert.ToInt32(Console.ReadLine());
Console.WriteLine("enter the first lengths of the triangles");
arra[i]=Convert.ToInt32(Console.ReadLine());
Console.WriteLine("enter the second lengths of the triangles");
arrb[i]=Convert.ToInt32(Console.ReadLine());
Console.WriteLine("enter the third lengths of the triangles");
arrc[i]=Convert.ToInt32(Console.ReadLine());
if(arra[i]+arrb[i]>arrc[i]&&arra[i]-arrb[i]<arrc[i])
Console.WriteLine("the set{0} of lengths can form a triangle",i+1);
Console.WriteLine("triangle cannot be formed");