Skip to content

5. Down to Earth

In this problem, you’re asked to enter an APL expression (some APL code), including arguments (data given to APL symbols). Your code will be tested by the APL Challenge system to check whether it gives the correct answer and uses the methods described below.

The function (Down) is the opposite of from problem 2; it takes a number on its right and rounds it down to the closest lower whole number. For example, ⌊3.7 gives 3, and ⌊8.9 gives 8. If the number is already a whole number, leaves it alone.


Write an expression that uses ÷ from problem 4 and to find how many whole times 7 fits into 22. The result should be 3.