Why am I getting InputMismatchException?

Instead of using a dot, like: 1.2, try to input like this: 1,2.

Leave a Comment