import java.util.Scanner;
public class FeetToMeter {
public static void main(String[] iriahus) {
final double FEET_TO_METER = 0.305;
@SuppressWarnings("resource")
Scanner s = new Scanner(System.in);
System.out.print("Enter a value for feet: ");
double feet = s.nextDouble();
double meter = feet * FEET_TO_METER;
System.out.println(feet + " feet is " + meter + " meters");
}
}
Silahkan di coba dimanapun kalian berada dan jangan lupa berdoa sebelum mencoba
Thank for visiting.
0 Response to "kaki meteran"
Post a Comment