Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace Miles_to_Kilometers
- {
- class Program
- {
- static void Main(string[] args)
- {
- double miles = double.Parse(Console.ReadLine());
- double kilometar = 1.60934;
- double result = miles * kilometar;
- Console.WriteLine($"{result:f2}");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement