質問編集履歴
1
文章の訂正
title
CHANGED
File without changes
|
body
CHANGED
@@ -30,9 +30,8 @@
|
|
30
30
|
|
31
31
|
public static void main(String args[]) throws IOException {
|
32
32
|
System.out.println("計算式を入力してください");
|
33
|
-
//Scanner sc=new Scanner(System.in);
|
34
33
|
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
|
35
|
-
String[] stringArray = br.readLine().split("
|
34
|
+
String[] stringArray = br.readLine().split("");
|
36
35
|
|
37
36
|
// 後に入れたものを先に抜き出す
|
38
37
|
Stack<Integer> que = new Stack<Integer>();
|
@@ -68,7 +67,6 @@
|
|
68
67
|
}
|
69
68
|
System.out.println("計算式"+br);
|
70
69
|
System.out.println(que.pop());
|
71
|
-
// sc.close();
|
72
70
|
}
|
73
71
|
|
74
72
|
}
|