public static void Main()
float carpetPerSquareFt = 3.55F;
Console.Write("Enter the length of the room in terms of feet: ");
length = Convert.ToSingle(Console.ReadLine());
Console.Write("Enter the width of the room terms of feet: ");
width = Convert.ToSingle(Console.ReadLine());
Console.WriteLine("The area of the room is {0} square feet", area);
cost = Convert.ToSingle(carpetPerSquareFt * area);
Console.WriteLine("It will cost ${0} to cover the room with carpet.", cost);