OUTPUT 'How old are you?' INPUT User inputs their age STORE the user's input in the age variable IF age < 17 THEN OUTPUT 'You qualify for the student discount!' ELSE IF age > 17 THEN OUTPUT 'You're ...
The original version of this story appeared in Quanta Magazine. Imagine a town with two widget merchants. Customers prefer cheaper widgets, so the merchants must compete to set the lowest price.