Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
What is mistake ????
2 Antworten
+ 1
Nothing..
0
I guess you have to separate inputs with spaces or newlines. Eg:
5+7
might get consumed by the first nextInt() and produces an error because of the plus sign. When
5 + 7
or
5
+
7
will work.