bacco

Miles to Kilometers

May 14th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.27 KB | None | 0 0
  1. using System;
  2. using System.Threading;
  3. using System.Xml.Schema;
  4.  
  5. namespace tESt
  6. {
  7.     class Program
  8.     {
  9.         static void Main(string[] args)
  10.         {
  11.             var mi = double.Parse(Console.ReadLine());
  12.  
  13.             var km = mi * 1.60934;
  14.  
  15.             Console.WriteLine($"{km:f2}");
  16.         }
  17.     }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment