Пример #1
0
        static void Main(string[] args)
        {
            double kilometer;

            Console.WriteLine("Convert Kilometers to meters");

            Console.Write("Enter Kilometers to convert:");
            kilometer = Convert.ToDouble(Console.ReadLine());

            ConvertValues convertKM = new ConvertValues();

            convertKM.KilometerToMeter(kilometer);

            Console.ReadKey();
        }
Пример #2
0
 static void Main(string[] args)
 {
     ConvertValues convertKM = new ConvertValues();
     convertKM.KilometerToMeter();
     Console.ReadKey();
 }