Chapter 2: Flow Control
The Cafeteria Logic Problem Chaitanya walks into the computer lab holding a crumpled piece of paper with a flowchart drawn on it. He looks confused. Chaitanya: Ma’am, I’m trying to design a system for the canteen. It’s simple: If a student has money, give them a burger. If they don’t, tell them to go away. … Read more