Rounding off(Mathematics) - IchigoJam

Let's round down!
41 is 40, 44 is 40, 45 is also 40, 49 is 40.
It is called round down the ones place.
Since it is an integer calculation, if you divide by 10, it will be 4 instead of 4.4.
Divide by 10, and multiply by 10, completed to round down!
Let's round it up!
49 is 50, 45 is 50, 44 & 41 is also 50, 40 is 40.
It is called round up the ones place.
After rounding down, can it round up by adding 10!?
Oh well, 40 has also turned to 50. Let's judge by the ones place.
"%" is a symbol for calculating the remainder in the world of IchigoJam BASIC.
If the ones place is 0, it rounds down, and if it is 1 or more it rounds up.
Try it!
1. Let's round up the ones place of 72 by the program.
2. Let's make a "rounding off" program that rounds down the ones place if it is 4 or less and rounds up if it is 5 or more.
3. Let's confirm that it can round up the ones place even with "?(N+9)/10*10".
4. Let's make the program for rounding off to the ones place.
CC BY IchigoJam print https://ichigojam.github.io/print/en/ IchigoJam®jig.jp