Question: Directions: For this lab you will implement the functionality described below. You will do this in one .cpp that will prompt the user with the

Directions: For this lab you will implement the functionality described below. You will do this in one .cpp that will prompt the user with the following format. Ensure that all prompts are preceded by the number for the problem and the word
#1 Prompt:
#1 Output:
#2 Prompt:
#2 Output:
.#1: Write a program that prompts the user to input 2 numbers. Output the product of these two numbers.
#2: Calculate the perimeter of a rectangle. Prompt the user to input the height and width of the rectangle.
#3: Calculate the circumference of a circle . Have the user input the radius of the circle. Assume pi = 3.141593, use a named constant to store this value.
The skeleton code is located under
 Directions: For this lab you will implement the functionality described below.
You will do this in one .cpp that will prompt the user

#include #include using namespace std; int main() // Set the prompts to an appropriate value const string promptl- "Change me!!!"; const string prompt2 -"Change me!!!"; const string prompt3- "Change me!!!"; float outputl-0 float output2 0; float output30; cout

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!