First number needs to be rounded to nearest second number. There are many ways of doing this, but whats the best and shortest algorithm? Anyone up for a challenge :-)
Is this homework?
Generally, mod 100, then if >50 add else subtract.