Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class GravitationOnTheMoon
- {
- static void Main()
- {
- Console.Write("Enter your weight: ");
- double weight = double.Parse(Console.ReadLine());
- double weightOnTheMoon = (weight * 0.17);
- Console.WriteLine(weightOnTheMoon);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement