Q&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 AnswersHot today
debate which is better
6 Votes
Debugging issue?
0 Votes
Text editor
0 Votes
how to view only application
0 Votes
Arduino
2 Votes
If very confusing
0 Votes
Scraping
0 Votes
I’m really confused
0 Votes