subject

Create an application for a library and name it fineforoverduebooks. themain() method asks the user to input the number of books checked out and the number of days they are overdue. pass those values to a method named displayfine that displays the library fine, which is 10 cents per book per day for the first seven days a book is overdue, then 20 cents per book per day for each additional day.

the library fine should be displayed in the following format:

the fine for 2 book(s) for 3 day(s) is $0.60

(the numbers will vary based on the input.)

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 19:30
2. fluorine and chlorine molecules are blamed fora trapping the sun's energyob forming acid rainoc producing smogod destroying ozone molecules
Answers: 2
question
Computers and Technology, 23.06.2019 20:00
How much current flows through the alternator brushes? a. 2–5 a b. 25–35 a, depending on the vehicle c. 5–10 a d. 10–15 a
Answers: 2
question
Computers and Technology, 23.06.2019 22:30
What would be the address of the cell, which is at the intersection of the second row and the third column in a worksheet?
Answers: 1
question
Computers and Technology, 24.06.2019 15:00
Who introduced the concept of combining artificial and natural light in the studio
Answers: 1
You know the right answer?
Create an application for a library and name it fineforoverduebooks. themain() method asks the user...
Questions
Questions on the website: 13722361