int sum = age1 + age2 + age3 + age4;
double avg = sum / 4;
int minus = age1 - age2;
int newAge = --age1;
double avg = sum / 4;
int minus = age1 - age2;
int newAge = --age1;
2022-06-01
最新回答 / 我是个小菜鸡啊
我知道了,应该是“男”,不应该是(男),输出的时候才是这样TRANSLATE with xEnglish ArabicHebrewPolishBulgarianHindiPortugueseCatalanHmong DawRomanianChinese SimplifiedHungarianRussianChinese TraditionalIndonesianSlovakCzechItalianSlovenianDanishJapaneseSpanishDutchKlingonSwedishEngli...
2022-05-30
最新回答 / 天之蓝2661257
关于我的提问做些补充:我电脑安装的IntelliJ IDEA版本号是2022.1.1,代码如下:
public class Main { public static void main(String[] args) { String hobby1="我爱慕课网"; System...
2022-05-30
最新回答 / 慕侠1513228
public class HelloWorld { public static void main(String[] args) {int score = 94;String sex = "女"; if(score > 80){ if(sex.equals ("女")){ System.out.println("进入女子决赛"); } else { System.out.println("进入男子决...
2022-05-27
String name="爱慕课";
char sex='男';
int num=18;
double price=120.5;
boolean isOK=true;
char sex='男';
int num=18;
double price=120.5;
boolean isOK=true;
2022-05-12
public class HelloWorld{
public static void main(String[] args) {
String mylove= "我爱慕课网";
String _age= "www.imooc.com";
System.out.println(mylove+"\n"+_age);
}
}
public static void main(String[] args) {
String mylove= "我爱慕课网";
String _age= "www.imooc.com";
System.out.println(mylove+"\n"+_age);
}
}
2022-05-12