DEV Community

Ivan Ivanov
Ivan Ivanov

Posted on

3. Rectangle Area

using System;

namespace RectangleArea
{
internal class Program
{
    static void Main(string[] args)
    {
        double a = double.Parse(Console.ReadLine());
        double b = double.Parse(Console.ReadLine());

        double area = a * b;
        Console.WriteLine(area);
    }
}
}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)