(25 XP) Reverse coding challenge.
Welcome to the reverse coding challenge! Normally you would have instructions on how to create a function. This time you'll need to create one that will satisfy the relation between the input and the output (check the examples section).
- Fork this repository to your GitHub account.
- Open solution file in Visual Studio.
- Open file
Challenge.cs
. - Implement the method
MysteryFunc(int num)
that will satisfy the relation between the input and the output. - 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.
MysteryFunc(152) ➞ 10
MysteryFunc(832) ➞ 48
MysteryFunc(19) ➞ 9
MysteryFunc(133) ➞ 9