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 Answershow get value button press
0 Votes
2 Answersminimum value find in c++
0 Votes
1 AnswerWhat is the value of c++?
0 Votes
2 Answersvalue Overflow?
0 Votes
2 AnswersHot today
Media on HTML
0 Votes
Is Sololearn better or Mimo.org?
1 Votes
How to show img???
0 Votes
How to cast in python
0 Votes
Java project
0 Votes
How to solve this
1 Votes
Jungle capming
0 Votes
JavaScript
0 Votes
Editor HTML
0 Votes