fixed it close thread
Type: Posts; User: illegit
fixed it close thread
Also, how can I make my boolean values output whether or not it is open/closed rather then true/false
--- Update ---
So like this:
boolean[] Lockers = new boolean[1024];
How would I make the program output the locker number it is at, and whether or not it is open/closed.
output:
1 closed
2 open
3 closed
...
edit:
'flipping' a locker would mean either to open or close it. Depending on the state that it's in, it will always do the opposite.
Also how would I make it so an individual door flipper flips the...
A locker room has lockers numbered 0,1,2,...,1023 . All lockers are initially closed. The first person walks in and flips every locker The 2nd person flips every other locker (starting at 0) The 3rd...