This comic reminded me of my numerous computer programming languages that I had to study while in Temasek Poly. It might be mind-boggling for some. But it is clearly an efficient way of doing the traditional concept during class detention.
If I am not mistaken, this is probably C++ language. Too bad that the blackboard cannot compile and execute the code. 🙂