Hello good I need to do the following code
#Entrada (numero entero del 1 al 10)
#Salida en texto (se ha introducido el numero cinco
Example
#Introduzco el numero 6
#Haz introducido el numero "seis"
Is there any way to do this without having to do an if or a switch without having to put all the possibilities from 1 to 10? Thanks in advance
Here is to get creative, you can make an ArrayList
After you have the number that the user entered it would be to put the position.
PS: I put the "Zero" to make the number easier to match but if not then you can do a -1