+ 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
2 Respuestas
+ 5
in which programming language ¿?
+ 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).