// Compute your weight on moon
using System;
class moon
{
static void Main()
{
double
earthweight; // wieght on earth
double
moonweigth; // wieght on moon
earthweight = 165.0;
moonweigth = earthweight * 0.17;
Console.WriteLine(earthweight
+ " earth-pounds is equivalent to "
+ moonweigth + " moon-pounds.");
}
}
No comments:
Post a Comment