Answered step by step
Verified Expert Solution
Question
1 Approved Answer
using the following information, write in C++ langauge ONLY please. BookShelf Program (Do not use Classes for this program) Write a program that calculates the
using the following information, write in C++ langauge ONLY please.
BookShelf Program (Do not use Classes for this program) Write a program that calculates the cost of building a bookshelf. Using reference variables, create a function that will get all input from the user. You will ask the user what type of wood they prefer: Mahogany, Oak, or Pine and how many shelves they would like. You will then ask them whether or not they would like it to have glass windowed doors. If they say yes, ask them how many. Do not allow them to choose more than the number of shelves, then call a function called calculateCost() that will calculate and return the cost. If they say no, call a function called calculate Cost () that will calculate and return the cost. The cost is based on the following: Pine is $150.00 Oak is $190.00 Mahogany is $230.00 Each shelf costs $55.00 Add $45.00 per windowed door You be writing this SAME program twice: 1) Using overloaded functions 2) Using default arguments/parameters Write them REALLY well, as if this were a job interview question! Upload both files to the Desk Assignment in Moodle
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started