public class TestType {
public static void main(String[] args) {
double score = 98.5;
String name = "张三";
char sex = ‘男‘;
System.out.println("本次考试成绩最高分: " + score);
System.out.println("最高分得主: " + name);
System.out.println("性别: " + sex);
}
}
时间: 2024-10-28 21:24:12