I need help (Java)

There’s a problem with my IntelliJ editor ,the flouting numbers doesn’t work and sometimes the numbers on the console appears like Indian style.

I don’t know how to change your locale (maybe this will help) but that’s probably why you are seeing the InputMismatchException. It’s probably expecting you to enter a number like 12,34 with a comma.