编程题:6
import java.util.Scanner;

public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double num1 = scanner.nextDouble();
int num2 = scanner.nextInt();
char ch = scanner.next().charAt(0);
double num3 = scanner.nextDouble();

    System.out.printf("%c %d %.2f %.2f", ch, num2, num1, num3);
}

}

posted on 2025-04-16 23:46  Swishy  阅读(8)  评论(0)    收藏  举报