using System;
class Moon {
static void Main() {
double earthweight; // weight on earth
double moonweight; // weight on moon
earthweight = 165.0;
moonweight = earthweight * 0.17;
Console.WriteLine(earthweight + " earth-pounds is equivalent to " +
moonweight + " moon-pounds.");
}
}
No hay comentarios.:
Publicar un comentario
Es muy importante tu comentarios: