World Cup group stage: Difference between revisions

m
→‎version 2, generated game sets: added a comment to the output section.
m (→‎version 2, generated game sets: added a comment to the output section.)
Line 1,032:
/*──────────────────────────────────────────────────────────────────────────────────────*/
th: arg th; return (th/1) || word('th st nd rd', 1 +(th//10) *(th//100%10\==1)*(th//10<4))</lang>
Programming note: &nbsp; additional code was add to support a nice-looking grid for displaying the output.
 
 
{{out|output|text=&nbsp; when using the default input of: &nbsp; &nbsp; <tt> 4 </tt>}}
<pre>