Posts by DIOGO • 13 points
1 post
-
1
votes1
answer511
viewsQ: I cannot increment a global variable in function parameter
What was asked of me: Declare a global variable called counter and assign it 0. Declare a Function called incrementCounterBy, which receives a Parameter called amount. It should increment counter by…