Well I give up on the first one, best I can get it to is 5 terms
Considering this stuff is meant for circut board logic I can't help but wonder why they make Computer Science majors take it... At least at my college.
Im in school that teaches Programming for Video Games specifically and as far as I know we wont even have to learn this stuff... and what the hell is exit(1); is that what we call the dinosaur language?