July 5, 2021 in C and CPP
b) Write a function that will computeY = X^nWhere Y and X are floating point numbers and n is an integer number. Use this functionand print the outputX n Y… … …Check for possible exceptions that may occur during computations with regard to themagnitude of computed values.