Answer to Question #12349 in C++ for Liliana Hernandez
Write a program that will ask the user for two integer numbers.
Use a “for” loop to raise the first number to the power of the second number.
I recommend using the long type instead of int type.
Display the answer to the screen.
Add a “while” loop or “do while” loop around your existing code:
Once the answer has been displayed, ask the user if they want to calculate another. Validate the user's
response to be Y or N or y or n.
// power.cpp : Defines the entry point for the console application. //