Question: Create a program which asks for two numbers. The first number should be a decimal number the second should be a whole number. The first
Create a program which asks for two numbers. The first number should be a decimal number the second should be a whole number. The first number needs to be raised to the power of the second number. The answer should be formatted with two digits after the decimal. The output should look like the example output given. You may use your own data but output needs to be formatted same way. Pow() function should be used correctly in program.

I used the Visual Studio for C++ in program but its Programming Fundamental. I need your help! Thank you!
- O X Microsoft Visual Studio Debug Console Please enter two numbers. The first one needs to be a decimal number. The second number needs to be a whole number. 2.0 7 The number 2.00 raised to the power of 7 is 128.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
