Advertisement
thegrudge

GravitaionOnTheMoon

Nov 11th, 2014
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.38 KB | None | 0 0
  1. using System;
  2. class GravitaionOnTheMoon
  3. {
  4.     static void Main()
  5.     {
  6.         float w1 = 86;
  7.         float w2 = 74.6f;
  8.         float w3 = 53.7f;
  9.         Console.WriteLine("Weigth {0}, Moon -> {1:0.000}", w1, w1*0.17);
  10.         Console.WriteLine("Weigth {0}, Moon -> {1:0.000}", w2, w2 * 0.17);
  11.         Console.WriteLine("Weigth {0}, Moon -> {1:0.000}", w3, w3 * 0.17);
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement