Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Rick Hammer is a carpenter who wants an application to compute the price of any desk a customer orders, based on the following: desk length

Rick Hammer is a carpenter who wants an application to compute the price of any desk a customer orders, based on the following: desk length and width in inches, type of wood, and number of drawers.
The price is computed as follows:
The charge for all desks is a minimum $200
If the surface (length * width) is over 750 square inches, add $50
If the wood is mahogany, add $150; for oak, add $125. No charge is added for pine
For every drawer in the desk, there is an additional $30 charge
Write a program in JustBASIC that accepts data for an order number, customer name, length and width of the desk ordered, type of wood, and number of drawers. Display all the entered data and the final price for the desk.

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_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions