3 4$12.0 10 5$50.0 7 8$56.0 //4 //5 //6 ここまでは設定 InputStream fileStream = new FileInputStream("data.txt"); System.setIn(fileStream); Scanner sc = new Scanner(System.in); //1.int型の変数 width, height を宣言, キーボード入力から整数値を受け取り代入 ???? = sc.nextInt(); ???? = sc.nextInt(); //2.小数型の変数 rectArea を宣言, 幅 width, 高さ height の長方形の面積を計算して代入 //3.長方形の面積を表示 System.out.println();