We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Same pbl with this Test Case :
2147483647
235345345345.234534
fsdfsdf sdf
The answer is always wrong for the double data, Double: 2.3534534534523453E11
Try to solve this issue by adding a userLocale to the Scanner and if I use FRENCH (my country), I have an InputMismatchException execption with my IDE. (US work but given the wrong result like you)
Java Stdin and Stdout II
You are viewing a single comment's thread. Return to all comments →
Hi !
Same pbl with this Test Case : 2147483647 235345345345.234534 fsdfsdf sdf
The answer is always wrong for the double data, Double: 2.3534534534523453E11
Try to solve this issue by adding a userLocale to the Scanner and if I use FRENCH (my country), I have an InputMismatchException execption with my IDE. (US work but given the wrong result like you)
Maybe you should review our tests today.