“You are unable to follow instructions”

Found this funny little program in the BlitzMax documentation. It’s demonstrating the use of the Select/Case/Default keywords.

You should be able to follow this even if you are not a programmer (I hope). I like the Default text best 🙂

a=Int( Input(“Enter a number between 1 and 5 “) )

Select a
Case 1 Print “You think small”
Case 2 Print “You are even tempered”
Case 3,4 Print “You are middle of the road”
Case 5 Print “You think big”
Default Print “You are unable to follow instructions”
End Select

What would you have typed in if you didn’t know what the program was going to output?

Comments are closed.