What does this line of code mean in JS ("var computers = parseInt(readLine(), 10)") | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

What does this line of code mean in JS ("var computers = parseInt(readLine(), 10)")

8th Nov 2022, 10:54 AM
Usman Kamaldeen
Usman Kamaldeen - avatar
1 Respuesta
+ 3
get input for sololearn task and convert it to an i teger if base 10
8th Nov 2022, 10:56 AM
Lisa
Lisa - avatar