How to input Intergers | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

How to input Intergers

I wanna like get Intergers so that I can use it for operations oh sorry I thought that it would only ask the question to those doing my course but clearly not. The Language of Java I quite new please help me

17th Dec 2017, 4:00 PM
Rodrigo Sanchez
Rodrigo Sanchez - avatar
2 Respuestas
+ 5
in which programming language ¿?
17th Dec 2017, 4:07 PM
🦋FEATHER🦋
🦋FEATHER🦋 - avatar
+ 1
The python code is: int( input() ) The logical of that: int() is for converting string to integer input() is for asking the input of users So with the same logical you can do it with what language you want (change the syntax and it will works).
17th Dec 2017, 4:26 PM
Αητοιπe
Αητοιπe - avatar