如果不输出汉字,只要输出36,,System.out.println("两数之和为:"+sum);里怎么写
public class HelloWorld{
public static void main(String[] args) {
int a=12;
int b=24;
int sum = a + b;
System.out.println("两数之和为:"+sum);
}
}
public class HelloWorld{
public static void main(String[] args) {
int a=12;
int b=24;
int sum = a + b;
System.out.println("两数之和为:"+sum);
}
}
2016-07-31
举报