0
How to get multiple inputs?
I would like to have multiple inputs in my code, but the second has always an error, saying unexpected source. I have searched a lot on the net, and all i found is that the scanner stops after one input. What to do? At the inserted code, the lines being a comment are the inactive things that dont work yet. https://code.sololearn.com/cnOk70gGx0Et/?ref=app
3 Réponses
+ 1
It finds the biggest common divider of 2 numbers
+ 3
How did you test?
Two integers on a line with a space inbetween seems to work.
And two integers on separate lines seems to work. I get only messages in your language.
+ 1
Ohh yeah, because i found it and repaired it. Now it works fine, thank you