Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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.00Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started