import javax.swing.JOptionPane;
class add{
public static void main(String[]fff){
String x =JOptionPane.showInputDialog(null,"请输入长");
int s =Integer.parseInt(x);
String y =JOptionPane.showInputDialog(null,"请输入宽");
int h =Integer.parseInt(y);
JOptionPane.showMessageDialog(null,"长方形的面积是"+s*h);
}
}
class add{
public static void main(String[]fff){
String x =JOptionPane.showInputDialog(null,"请输入长");
int s =Integer.parseInt(x);
String y =JOptionPane.showInputDialog(null,"请输入宽");
int h =Integer.parseInt(y);
JOptionPane.showMessageDialog(null,"长方形的面积是"+s*h);
}
}