import javax.swing.JOptionPane;
public class X59 {
public static double footToMeter(double i)
{
return i*0.305;
}
public static double meterToFoot(double r) {
return r/0.305;
}
public static void main(String[]args) {
System.out.print("doublefootToMeter(i) j meterToFoot(r) a");
String output="英尺 米 米 英尺";
output+="\n";
for(int i=1;i<11;i++)
{
double a=(double)i;
double b=15.0+5*a;
output+=a+" "+footToMeter(a)+" "+b+" "+meterToFoot(b)+"\n";
}
JOptionPane.showMessageDialog(null,output);}
}