New course! Every coder should learn Generative AI!
Try a free lessonQ&A Discussions
I have 10 variables called, int1, int2, int 3 and so on. The user can write one number into the console. If the user types 7, I want to add 3 to the value of int7. how do I do this without 10 if statements? can I somehow do something like, (int + "userinput") += 3?
thank you for your help! :D
0 Votes
2 AnswersNEXT QUESTION! HELP!
0 Votes
15 AnswersHot today
Help me plss
3 Votes
Android studio emulator
1 Votes
Return function
1 Votes
Can anyone guide me
0 Votes
Internal vs external JS
1 Votes
My question
0 Votes
Wrong?
0 Votes
Putting files in another folder
1 Votes