27 April 2017

Reach Next Level

My solution:
bool reachNextLevel(int experience, int threshold, int reward) 
{
    return experience + reward >= threshold;
}

Previous Next