public class HelloWorld{
public static void main(String[] args) {
int rise=5;
double avg1=78.5;
double avg2=avg1+rise;
System.out.println("考试平均分:"+avg1);
System.out.println("调整后的平均分:"+avg2);
}
}
public static void main(String[] args) {
int rise=5;
double avg1=78.5;
double avg2=avg1+rise;
System.out.println("考试平均分:"+avg1);
System.out.println("调整后的平均分:"+avg2);
}
}
2020-06-17
最新回答 / 徐世民
import java.util.Arrays;public class HelloWorld { //完成 main 方法 public static void main(String[] args) { int[]scores={89,-23,64,91,119,52,73}; System.out.println("考试成绩的前三名是:"); HelloWorld hello=new HelloWorld(); ...
2020-06-15