SUBROUTINE: Reset Counter

SUBROUTINE:
 
Reset Counter.
Locate Bins.
Found Two Bins.
Label Bins
Bin A
Bin B
No More Bins Found.
Return to Start.
 
Move to Bin
Was Bin Used?
No.
Open Bin.
Opening Bin A.
Transfer Units to Stack.
Found: Unit.
Move to Stack.
Found Unit.
Move to Stack.
No more Units Found.
Close Bin A.
Return to Start.
 
Move to Bin.
Was Bin Used?
Yes.
Move to Bin.
Was Bin Used?
No.
Found Bin B.
Opening Bin B
Transfer Units to Stack.
Found: Unit.
Move to Stack.
Found: Unit.
Move to Stack.
No more Units Found.
Close Bin B.
Return to Start.
 
Move To Bin.
Was Bin Used?
Yes.
Move to Bin.
Was Bin Used?
Yes.
No More Bins Found.
Return to Start.
 
Move to Stack.
Open Stack.
Found Unit.
Increment Counter.
Pop Stack
Found Unit
Increment Counter.
Pop Stack
Found Unit
Increment Counter
Pop Stack
Found Unit
Increment Counter
No more Units Found
Stack Empty.
Close Stack.
 
Display Counter:
 
4

Leave a comment

Your email address will not be published. Required fields are marked *


− seven = 2

Leave a Reply