subject

A. Create a console-based application named Desks that computes the price of a desk and whose Main() method calls the following methods: β€’ A method to accept the number of drawers in the desk as input from the keyboard. This method returns the number of drawers to the Main() method.
β€’ A method to accept as input and return the type of woodβ€”β€˜m’ for mahogany, β€˜o’ for oak, or β€˜p’ for pine.
β€’ A method that accepts the number of drawers and wood type, and calculates the cost of the desk based on the following:
β€’ Pine desks are $100.
β€’ Oak desks are $140.
β€’ All other woods are $180.
β€’ A $30 surcharge is added for each drawer.
β€’ This method returns the cost to the Main() method.
β€’ A method to display all the details and the final price.
b. Create a GUI application named DesksGUI that accepts desk order data from TextBox

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 23:30
What are "open-loop" and "closed-loop" systems
Answers: 1
question
Computers and Technology, 24.06.2019 05:30
If you combine two cells into one, what action are you performing? a.  adding a new row or column      b.  splitting the cells      c.  removing a new row or column      d.  merging the cells
Answers: 2
question
Computers and Technology, 24.06.2019 11:20
Print "censored" if userinput contains the word "darn", else print userinput. end with newline. ex: if userinput is "that darn cat.", then output is: censoredex: if userinput is "dang, that was scary! ", then output is: dang, that was scary! note: if the submitted code has an out-of-range access, the system will stop running the code after a few seconds, and report "program end never reached." the system doesn't print the test case that caused the reported message.#include #include using namespace std; int main() {string userinput; getline(cin, userinput); int ispresent = userinput.find("darn"); if (ispresent > 0){cout < < "censored" < < endl; /* your solution goes here */return 0; }
Answers: 3
question
Computers and Technology, 24.06.2019 17:50
Acontact list is a place where you can store a specific contact with other associated information such as a phone number, email address, birthday, etc. write a program that first takes in word pairs that consist of a name and a phone number (both strings). that list is followed by a name, and your program should output that name's phone number.
Answers: 1
You know the right answer?
A. Create a console-based application named Desks that computes the price of a desk and whose Main()...
Questions
question
Mathematics, 05.11.2019 20:31
question
Geography, 05.11.2019 20:31
Questions on the website: 13722367