lunes, 15 de abril de 2013
Program C# Compute your weight on the moon.
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.");
}
}
Suscribirse a:
Comentarios de la entrada (Atom)
No hay comentarios.:
Publicar un comentario
Es muy importante tu comentarios: