Your task is to reverse the order in which some prints get executed.
Specs:
Your code will be in this form:
//some lines of code /*code*/ print "Line1" /*code*/ /*code*/ print "Line2" /*code*/ /*code*/ print "Line3" /*code*/ /*code*/ print "Line4" /*code*/ //some lines of code You will have to print (or echo, or write, or equivalent) those strings from the fourth to the first.
You decide which lines of your program must
printthe strings, but they must be adjacent;Every line can contain only one
print, and cannot exceed 60 bytes in length;Since this is popularity-contest, be creative and avoid to write just a
gotoor a simplefor(i){if(i=4)print"Line1";if(i=3)...}The most upvoted answer in 2 weeks wins this.
Your output MUST be
Line4 Line3 Line2 Line1ORLine4Line3Line2Line1ORLine4\nLine3\nLine2\nLine1(where\nis a newline), and it must be generated only by executing thoseprintsbackwards.
Happy coding!
UPDATE: Contest is over! Thank you all :)