using System;
class Traingle
{
public static void Main()
{
float l,b,a;
Console.WriteLine("Enter Length Of A Rectangle:");
l=float.Parse(Console.ReadLine());
Console.WriteLine("Enter Breath Of A Rectangle:");
b=float.Parse(Console.ReadLine());
a=l*b;
Console.WriteLine("Area Of Rectangle is {0}",a);
}
}
Output:-class Traingle
{
public static void Main()
{
float l,b,a;
Console.WriteLine("Enter Length Of A Rectangle:");
l=float.Parse(Console.ReadLine());
Console.WriteLine("Enter Breath Of A Rectangle:");
b=float.Parse(Console.ReadLine());
a=l*b;
Console.WriteLine("Area Of Rectangle is {0}",a);
}
}