Problem Definition: Create a function power() to raise a number m to power n, the function takes a double value for m and integer for n and returns result correctly.
Use the default value of 2 for n to make the function calculate square when this argument is omitted. Write a main that gets the value of m and n from the user to test the function.
#CppForBeginners #CppTutorials
#LearnLetsEarn
Follow us on Instagram:
🔗 / learnletsearn