Unformatted text preview: things. Integers which are too large also do not work. I want to allow the user to set the position of the throttle to an arbitrary position, say the fifth one. Before I do this, I should shut the throttle off so I can shift up the required number of positions from zero. This isn’t strictly necessary in my code (I only do this when the throttle is already 0), but could be an issue later. I check whether or not the throttle is on merely to taunt the user if it is zero. There is no functional reason to do this. The two throttles are then shifted until the user defined throttle is at maximum flow. The generically constructed throttle immediately reaches its maximum flow of 1. The flow of the throttles is printed once every iteration of the loop....
View Full Document
- Spring '08
- Object-Oriented Programming, English-language films, Subroutine, Benjamin Horstman