DEV Community

Ivan Ivanov
Ivan Ivanov

Posted on

4. Inches To Centimeters

using System;

namespace InchesToCentimeters
{
internal class Program
{
    static void Main(string[] args)
    {
        double inches = double.Parse(Console.ReadLine());
        double centimeters = inches * 2.54;
        Console.WriteLine(centimeters);
    }
}
}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)