+ 1
How to make my code work
working on a temp converter for practice in java, and i can't seem to get the arithmetic right. the program will run fine but i keep getting the wrong answers when it converts. the code is posted on my page if anyone wants to look at, i'd really appreciate any help! thanks
3 Réponses
+ 3
Hi. I see you got it working now. It runs also on SoloLearn if you give the parameters the right way, put each input in a separate line of the same input window.
Just one comment to the code, it is enough to use only one Scanner and you can keep reading multiple times from it.
Nice work! ;)
+ 1
It will works outside of Solearn but not here because of Sololearn input issues
0
Thanks for letting me know. Ill definitely play with it tonight and see if i can make 1 scanner work