using System; class MainClass { public static void Main() { double s1; string str; Console.WriteLine("Enter length of first side: "); str = Console.ReadLine(); s1 = Double.Parse(str); } }
Enter length of first side: 12