SCALE CONVERTER
import java.util.Scanner;
class Scale
{
public static void main(String args[])
{
double feet,meter;
System.out.println("\t\t\t\t::Feet To Meter::\n");
Scanner input = new Scanner(System.in);
System.out.println("Enter Number of Feet: ");
feet = input.nextDouble();
meter=0.305*feet;
System.out.println(feet+" Feet = "+meter+" Meters.");
}
}
No comments:
Post a Comment