Example 1: Round Off to Another Integer's Multiple
Learn how to round off an integer to another integer's multiple.
We'll cover the following...
Problem
Write a program to predict the smallest multiple of j
but it should be larger than i
.
Example
Input (i, j) |
---|