package tt;
import javax.swing.JOptionPane;
public class nihao {
public static void main(String[] args) {
// TODO Auto-generated method stub
String s1 = "数字",s2 = "数字";
double d1,d2,d3;
d1 = Double.parseDouble(s1);
d2 = Double.parseDouble(s2);
d3 = d1 + d2 ;
System.out.println(String.valueOf(d3));
}
}
时间: 2024-10-10 22:08:56