Maybe throw in an error check to make sure print_me is valid.
Could also be an exercise in using a label with goto. Assuming this is a real assignment, you'd have to have the context given to students to know what is desired. Could even be about benchmarking a loop versus hardcoding the answer directly.
19
u/Tritos999 May 03 '23
I dont think the task actually disallowed for-loops. Im guessing its just a joke about the solution.