In this example, I am trying to have the program change the AB variable's (Global Variable) value within a [while] statement. When I have the program print out the variable's value after the program if finished, it hasn't changed at all, no matter how many times the [while] loop is looped. Is there a way to change this?
How do I change a global variable's value within a while statement?
You are viewing a single comment. View All
Answered by ArchieMaclean (613) [earned 5 cycles]