This is what Russel Crowe in " Gladiator " would have looked like if it had taken place at Dilbert's company. Though I think that this cartoon may fly over the heads of some people who don't understand coding. For those of us who do it's hysterical.
I just about died laughing at the story of your friend's dad.
Also your students' code is easier to understand (but not easier to check).
How inefficient is the loop?
1 Allocate a variable i, load constant 10, store to i.
2 Jump to 6
3 load variable i
4 call print
5 load variable i, decrement, store to i
6 load variable i, load constant 0, compare
7 jump if not greater to 3