11. Create a class named BookBilling that includes three ove Memories Company, which sells photo books. ameldo19 ee60 > When computeBill () receives no parameters, the method computes the price of one photo book at $14.99, adds 8 percent tax, and returns the total due. 16> When computeBill () receives one parameter, it represents the quantity ordered. Multiply the value by bus a $14.99, add 8 percent tax, and return the total due. nionette tesug to edmun adi sol tau ada lgning > When computeBill () receives two parameters, they represent the quantity ordered and a coupon value... oliduga allso insmotala eldetbexs til af Multiply the quantity by $14.99, reduce the result by the coupon value, add 8 percent tax, and then return the total due. ex dong d )aism sit of suley sdt 20 wis bus s va Dilopge Write a main () method that prompts the user for the number of books ordered, prompts for a coupon value, and tests all three overloaded methods. Save the application as BookBilling.java. bedtem sbrod sil diw altom

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Java programming. Question 11. I'm not sure how to do this one. Help would be appreciated! Input and output.

the decades (3) to 15 and then multiplying by 20. Write an application that prompts a user for the current year
and a birth year. Pass both to a method that calculates and returns the premium amount, and then display the
returned amount. Save the application as Insurance.java.
9. The Renew Your Home Company estimates each job cost as the cost of materials plus $35 per hour while on
the job, plus $12 per hour for travel time to the job site. Create a class that contains a main () method that
prompts the user for the name of a job (for example, Patel bathroom remodel), the cost of materials, the number
of hours of work required, and the number of hours of travel time. Pass the numeric data to a method that
computes an estimate for the job and returns the computed value to the main () method, where the job name
and estimated price are displayed. Save the program as JobPricing.java.
10. Create a class named FormLetterWriter that includes two overloaded methods named
displaySalutation (). The first method takes one String parameter that represents a customer's first
name, and it displays the salutation Dear followed by the first name. The second method accepts two String
parameters that represent a first and last name, and it displays the greeting Dear followed by the first name, a
and the last name. After each salutation, display the rest of a short business letter: Thank you for your
recent order. Write a main () method that prompts the user for a first and last name and tests each overloaded
space,
method. Save the file as FormLetterWriter.java.
GAME ZONE 113
11. Create a class named BookBilling that includes three overloaded computeBill () methods for the Happy
Memories Company, which sells photo books.
price of one photo book at
> When computeBill () receives no parameters, the method computes the price of one photo book at
$14.99, adds 8 percent tax, and returns the total due.
16> When computeBill () receives one parameter, it represents the quantity ordered. Multiply the value by
tralasug lo sdmun sdi hol tau adi sigmon
$14.99, add 8 percent tax, and return the total due.
Sam
> When computeBill () receives two parameters, they represent the quantity ordered and a coupon value.
Multiply the quantity by $14.99, reduce the result by the coupon value, add 8 percent tax, and then return
(dugs allso inemat
the total due. exporq
Jual sif (
SM Sit of su
of suley prt 20ie bus 21sing to dimin
Write a main () method that prompts the user for the number of books ordered, prompts for a coupon value,
and tests all three overloaded methods. Save the application as BookBilling.java.
925-MT
asbrod sil) diiw olloni
any insmoteta okienisse last soff (
daaih trova adit la saba self con
voidaga olidug & of elcoup lo sedman in
Debugging Exercises
el
risto rlosed 290n6o,elays
elevad
an ribua inemglupe rosed aines asilqu
1. Each of the following files saved in the Chapter03 folder in your downloadable student files has syntax and/or
logic errors. In each case, determine and fix the problem. After you correct the errors, save each file using the
same filename preceded with Fix. For example, DebugThree 1.java will become FixDebugThree1.java.
awollol as boaSUT S
a. DebugThree1.java
b. DebugThree2.java
watt
Game Zone
590
c. DebugThree3.java
d. DebugThree4.java
watery of golov has enter
slgaib ted) bortama aliso insmetsie akistuse
wrap!
sitt.
768
which the players provide a few words that are then incorporated into a sil
name of an animal, a number, and a direction. The child m
Mad Lib might be:
Transcribed Image Text:the decades (3) to 15 and then multiplying by 20. Write an application that prompts a user for the current year and a birth year. Pass both to a method that calculates and returns the premium amount, and then display the returned amount. Save the application as Insurance.java. 9. The Renew Your Home Company estimates each job cost as the cost of materials plus $35 per hour while on the job, plus $12 per hour for travel time to the job site. Create a class that contains a main () method that prompts the user for the name of a job (for example, Patel bathroom remodel), the cost of materials, the number of hours of work required, and the number of hours of travel time. Pass the numeric data to a method that computes an estimate for the job and returns the computed value to the main () method, where the job name and estimated price are displayed. Save the program as JobPricing.java. 10. Create a class named FormLetterWriter that includes two overloaded methods named displaySalutation (). The first method takes one String parameter that represents a customer's first name, and it displays the salutation Dear followed by the first name. The second method accepts two String parameters that represent a first and last name, and it displays the greeting Dear followed by the first name, a and the last name. After each salutation, display the rest of a short business letter: Thank you for your recent order. Write a main () method that prompts the user for a first and last name and tests each overloaded space, method. Save the file as FormLetterWriter.java. GAME ZONE 113 11. Create a class named BookBilling that includes three overloaded computeBill () methods for the Happy Memories Company, which sells photo books. price of one photo book at > When computeBill () receives no parameters, the method computes the price of one photo book at $14.99, adds 8 percent tax, and returns the total due. 16> When computeBill () receives one parameter, it represents the quantity ordered. Multiply the value by tralasug lo sdmun sdi hol tau adi sigmon $14.99, add 8 percent tax, and return the total due. Sam > When computeBill () receives two parameters, they represent the quantity ordered and a coupon value. Multiply the quantity by $14.99, reduce the result by the coupon value, add 8 percent tax, and then return (dugs allso inemat the total due. exporq Jual sif ( SM Sit of su of suley prt 20ie bus 21sing to dimin Write a main () method that prompts the user for the number of books ordered, prompts for a coupon value, and tests all three overloaded methods. Save the application as BookBilling.java. 925-MT asbrod sil) diiw olloni any insmoteta okienisse last soff ( daaih trova adit la saba self con voidaga olidug & of elcoup lo sedman in Debugging Exercises el risto rlosed 290n6o,elays elevad an ribua inemglupe rosed aines asilqu 1. Each of the following files saved in the Chapter03 folder in your downloadable student files has syntax and/or logic errors. In each case, determine and fix the problem. After you correct the errors, save each file using the same filename preceded with Fix. For example, DebugThree 1.java will become FixDebugThree1.java. awollol as boaSUT S a. DebugThree1.java b. DebugThree2.java watt Game Zone 590 c. DebugThree3.java d. DebugThree4.java watery of golov has enter slgaib ted) bortama aliso insmetsie akistuse wrap! sitt. 768 which the players provide a few words that are then incorporated into a sil name of an animal, a number, and a direction. The child m Mad Lib might be:
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY