0

Bugs in code...

My code works perfectly fine when I initialize variables inside the code but when I use Scanners , code doesn't work. https://code.sololearn.com/cq6dhy4ztnlQ/#java This is code is for converting sum, product, difference , quotient or simply number to binary.

22nd Jul 2020, 7:22 AM
H-J
H-J - avatar
3 odpowiedzi
+ 3
https://youtu.be/_xqzmDyLWvs Try this bro I think the issue in your code is next() and nextLine()
22nd Jul 2020, 8:08 AM
Aayush $aini
Aayush $aini - avatar
+ 1
did you run your program on sololearn? do you know how to enter multiple inputs on sololearn? can you share the code with the Scanner not removed.
22nd Jul 2020, 8:08 AM
Bahhaⵣ
Bahhaⵣ - avatar
+ 1
@Aayush Saini Your solution worked. Thank alot.
22nd Jul 2020, 10:26 AM
H-J
H-J - avatar