Question: Write a C++ program that prompts the user to enter a number and prints its square and cube values. The output must appear as follows
Write a C++ program that prompts the user to enter a number and prints its square and cube values. The output must appear as follows (user entered values are indicated in bold): b. Please enter your value: 5 The Square of 5 is: 25 The cube of 5 is: 125
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
