Computers and Technology

Complete a prewritten Java program for a carpenter who creates personalized, house signs. The program is supposed to compute the price of any sign a customer orders, based on the following facts:

• The charge for all signs is a minimum of $35.00.
• The first five letters or numbers are included in the minimum charge, there is a $4 charge for each additional character.
• If the sign is make of oak, add $20.00. No charge is added for pine.
• Black or white characters are included in the minimum charge; there is an additional SIS charge for gold-leaf lettering.

1. Open the file named HouseSign. java using Notepad or the text editor of your choice
2. You need to declare variables for the following, and initialize them where specified:

• A variable for the cost of the sign initialized to 0.00.
• A variable for the color of the characters initialized to "gold"
• A variable for the wood type initialized with the value "oak".
• A variable for the number of characters initialized with the value 8.

3. Write the rest of the program using assignment statements and if statements as appropriate. The output statements are written for you.
4. Compile the program.
5. Execute the program. Your output should be: The charge for this sign is $82.0.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 18:00, kayleeemerson77
Ihave buncha points. does anyone want any?
Answers: 1
image
Computers and Technology, 22.06.2019 07:00, candiceforever123
Idon understand these and need some ! ?
Answers: 2
image
Computers and Technology, 22.06.2019 10:00, QueenKy9576
Wich technology can a website use to allow you to listen to a concert live over the internet?
Answers: 3
image
Computers and Technology, 23.06.2019 02:30, jalaholmes2027
Three out of five seniors remain undecided about a college major at the end of their senior year.
Answers: 3
Do you know the correct answer?
Complete a prewritten Java program for a carpenter who creates personalized, house signs. The progra...

Questions in other subjects:

Konu
Mathematics, 20.12.2020 01:00
Konu
Mathematics, 20.12.2020 01:00