Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in java - A carpenter computes the price of a desk as follows: - The charge for all desks is a minimum of $200 -

image text in transcribed

in java

- A carpenter computes the price of a desk as follows: - The charge for all desks is a minimum of $200 - If the surface (length * width) is over 750 square inches, add $50 - If the wood code is 1 (mahogany), add $100. If the wood code is 2 , add $75. If the wood code is 3 (pine), there is no extra charge - Write just the main for a program that gets the length and width of a desk in inches as well as the wood code from the user and prints the cost of 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

Recommended Textbook for

Beginning ASP.NET 2.0 And Databases

Authors: John Kauffman, Bradley Millington

1st Edition

0471781347, 978-0471781349

More Books

Students also viewed these Databases questions