Answer to Question #274511 in C++ for Yoyo

Question #274511


Find solutions for your homework





engineeringcomputer sciencecomputer science questions and answersin this lab you will be creating a program that allows the user to create an estimate of the cost to build a table. this will be a menu driven program that will continue until the user specifically states that they do not want any additional estimates. requirements: this program will need to do the following: the program should display a welcome message.

Question: In This Lab You Will Be Creating A Program That Allows The User To Create An Estimate Of The Cost To Build A Table. This Will Be A Menu Driven Program That Will Continue Until The User Specifically States That They Do Not Want Any Additional Estimates. Requirements: This Program Will Need To Do The Following: The Program Should Display A Welcome Message.

1
Expert's answer
2021-12-02T17:45:59-0500
#include<iostream>
using namespace std;
int main()
{
	int est;
	cout<<"Welcome to Estimate cost of building a table: "<<endl;
	cout<<"Enter the estimate cost and press 4 to stop entering the estimates"<<endl;
	if(est !=4){
	for(int i=1;i<50;i++){
		if(est==4){
			break;
		}
	cout<<"\n\nCreate an estimate "<<i<<" of the cost of the table: ";
	cin>>est;
}}
 else{
		cout<<"exiting";
	}
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment