(5 XP) A function that returns the remainder of two numbers.
- Fork this repository to your GitHub account.
- Open solution file in Visual Studio.
- Open file
Calculator.cs
. - Implement the method
Remainder(int dividend, int divisor)
that returns the remainder of two numbers. - Run with
CTRL+F5
to test it. - If all tests are passed, commit & sync your repository.
- Send a link to your repository for Lab Master (in #slack) to check it.
Remainder(1, 3) ➞ 1
Remainder(3, 4) ➞ 3
Remainder(-9, 45) ➞ -9
Remainder(5, 5) ➞ 0
- dividend - delenec
- divisor - deliteľ