Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Sams Teach Yourself Beginning Databases In 24 Hours

Authors: Ryan Stephens, Ron Plew

1st Edition

067232492X, 978-0672324925

More Books

Students also viewed these Databases questions