Question: Create a program in the main.cpp file in the int main ( ) function that uses cin to get two integer inputs, one after the

Create a program in the main.cpp file in the int main() function that uses cin to get two integer inputs, one after the other, and prints out the result of the first input raised to the power of the second input. (Note: You might be able to do repeated multiplication using a for loop) There are no edge cases tested, only positive numbers are used. Use the button below to run your code.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!