You need to implement a recursive function namely Apowerfun. Apowerfun is a;power function which receives the value of a real number ?a? raised to the;power of a non negative integer ?n?.;Write a header file which that you will call Apower.h. The file contains a;recursive method Apowerfun that has two parameters;1- First parameter is a of type float;2- Second parameter is n of type long;and returns the an;value as a float.;Write a C++ file which you will call Apower.cpp that reads in a long non;negative number n, and a float number a, and prints the corresponding a;n;number.
Paper#64294 | Written in 18-Jul-2015Price : $27