The simplest program ever. It tells us what flavour(s) of ice cream are available in Stanford’s Arillaga Dining Hall.
Program
flavour(chocolate).
Query
flavour(chocolate)
Yes.
flavour(vanilla)
No.
It took two words of code to do this. In Java it would probably take more than 5 lines. I think I like logic programming.