## Rounding off to the nearest 10 ( Tens ).

For Rounding off to the nearest 10 ( Tens ). we will first check if the ones digit is greater than or lesser than 5.

If the one’s digit is greater than 5, we will increase tens digit by 1, and replace ones digit by 0.

If one’s digit is lesser than 5, we will replace ones digit by 0, and other digits remain same.