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 Menghitung_Luas
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.WriteLine("Cara Menghitung Kecepatan\n");
- double kec;
- double waktu;
- double jarak;
- Console.Write("Jarak : ");
- jarak=Convert.ToInt32(Console.ReadLine());
- Console.Write("Waktu : ");
- waktu=Convert.ToDouble(Console.ReadLine());
- Console.Write("Kecepatan : ");
- kec=jarak/waktu;
- Console.Write(kec);
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement