Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcjęDyskusje Q&A
Why use console. in the JS ?
2 głosów
4 odpowiedziI 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 głosów
2 odpowiedziPopularne dzisiaj
Calculator
1 Votes
Solution
0 Votes
help pls
1 Votes
C? C++? C#? Horses for courses?
0 Votes
How to make animation
0 Votes
Sololearn logo
0 Votes
User code bits
1 Votes