¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita+ 1
What's wrong in this calculator using switch case
2 Respuestas
+ 5
nothing wrong, you just need to parse the input into a number. because right now, its a string
parseInt(yourVar) should do
+ 1
Ohhh my bad... thanks bro