Question: 1 write a program to calculate the value of an...
1. Write a program to calculate the value of an integer raised
to a power (when power ≥ 0)
without using recursion and print the result. You may hard-code the integer and power
values as part of your program. How many clock cycles does the demo code with
recursion take to complete? How many clock cycles does your implementation take?
Explain the difference. Your program’s output should be like the following:
4 raised to the power 2 is 16