Write a function that will compute

b) Write a function that will compute
Y = X^n
Where Y and X are floating point numbers and n is an integer number. Use this function
and print the output
X n Y
… … …
Check for possible exceptions that may occur during computations with regard to the
magnitude of computed values.



Leave a Reply