Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite0
Hey guys please anybody tell why this while loop not works on sololearn app but it works on other apps like javanide??
1 Réponse
+ 2
It works but It's an infinite loop.
Sololearn playground is not interactive. on no input, it raise exception.
edit:
RAGHUKUMAR SURA
instead of while(true), use while(sc.hasNext()). then it works fine.
hope it helps..