Answers for "foot in cm c#"

C#
0

foot in cm c#

public static void Main()
        {
            Console.Write("Enter centimeter:");
            int centimeter = Convert.ToInt32(Console.ReadLine());
            double inch = 0.3937 * centimeter;
            double feet = 0.0328 * centimeter;
            Console.WriteLine("Inches is: " + inch);
            Console.WriteLine("Feet is: " + feet);
            Console.ReadLine();
        }
Posted by: Guest on February-03-2021

C# Answers by Framework

Browse Popular Code Answers by Language