Posts by Vitor Corrêa • 3 points
2 posts
-
0
votes1
answer43
viewsQ: How to use a function to check the requirements imposed on a variable in C++?
I want to make a code to train structs. In this case, since the number of cars is 4, I want the choice variable to be limited in the closed range from 1 to 4 "[1,4]". So the logic is: While this…
-
0
votes3
answers1204
viewsQ: How to change the image of a button like Javascript?
I’m doing a classic old game in HTML, CSS and Javascript, however, I want to know which command I can use to change the image of a javascript button I know it has something to do with…