Implement a function to raise a number to an exponent using your language of choice.
Anonymous
int raisingTo(int base, unsigned int exponent) { if (exponent == 0) return 1; else return base * raisingTo(base, exponent - 1); }
Check out your Company Bowl for anonymous work chats.