Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ConsoleApp5
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.WriteLine("KPH\tMPH");
- double MILES_PER_KM = 0.62137;
- for (int KPH = 10; KPH <= 110; KPH += 10)
- {
- Console.WriteLine(KPH + "\t" + KPH * MILES_PER_KM);
- //(1 MPH = 0.62137 KPH)
- }
- Console.ReadLine();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement