Question: This is C++ Program i need help for, it needs to be compiled (Using the GNU C++ compiler): Selective Program Executiorn Write a program in

This is C++ Program i need help for, it needs to be compiled (Using the GNU C++ compiler):

This is C++ Program i need help for, it needs to becompiled (Using the GNU C++ compiler): Selective Program Executiorn Write a program

Selective Program Executiorn Write a program in a file named Flooring.cpp that provides a user with a menu of options that describe 3 types of flooring. When the user inputs an appropriate choice, display a message that indicates the flooring type that they have chosen. Be sure to accommodate the possibility that the user mistakenly enters a non-menu value Variables choice selection from menu output string message to output based on selection nput Flooring selection choice Output This program asks a user to enter a choice of flooring for a new home Enter the number that matches your flooring choice 1: Scored concrete, costs $3000 2: Carpeting comes with a $5000 allowance 3: Wood floors in the living area, carpeting in the bed rooms, tile in the bath areas, and a $5000 carpeting allowance, totaling $10,000 A message indicating the unique output associated with that selection choice Step 1: Output a descriptive message cout > choice; Step 4: Determine the appropriate output string Because our algorithm has 4 possible outcomes, we'll need a means to select the appropriate output based upon the value of the variable choice. There are two options available to us that we will survey over this and the next assignment. For this exercise, we'll use the binary selection statement. The basic syntax for a binary selection (if) statement in this language is the following

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!