public class Centimeter{
public static void main (String[] args)
{
double Foot;
double inches;
double Centi;
Foot = 12;
inches = 2.54;
Centi = Foot * inches;
System.out.println("One foot = " + Centi + " centimeter");
}
}
Thursday, March 6, 2008
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment