[Solved] Java Input from console giving unexpected values [closed]


This should work. if you are not using an IDE, then maybe you changed your code and didn’t compile again. so you are essentially running an old code with different output?

2

solved Java Input from console giving unexpected values [closed]