Need a project done?

C++ Programming Developer

Search This Blog

Showing posts with label power. Show all posts
Showing posts with label power. Show all posts

Recursive Power Function C++

Write a function int Power(int a, int b) that calculates the power a^b. You are allowed to use multiplication operator *.
Solution:
"Don't let anyone ever make you feel like you don't deserve what you want."