# “Rounding2” (Solution)

## Answer

```
 a =  b * (a/b) + (a%b)
 7 =  3 *   2   +   1
 7 = -3 *  -2   +   1
-7 =  3 *  -2   +  -1
-7 = -3 *   2   +  -1
```

[Problem](https://andreyakinshin.gitbook.io/problembookdotnet/en/math/rounding2-p)
