Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed
image text in transcribed
#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

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

Professional Microsoft SQL Server 2012 Administration

Authors: Adam Jorgensen, Steven Wort

1st Edition

1118106881, 9781118106884

More Books

Students also viewed these Databases questions