回答編集履歴
1
後で試してみて、while(tax < 0 || tax === NaN)が間違いだったことに気づいたので、編集しなおしました。
answer
CHANGED
@@ -4,4 +4,4 @@
|
|
4
4
|
|
5
5
|
###解決方法
|
6
6
|
(上のプログラムで)
|
7
|
-
while(tax < 0 || Number.isNaN(tax))
|
7
|
+
while(tax < 0 || Number.isNaN(tax))とすること。
|