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, 22.06.2019 02:00
Think about some of the most memorable and forgettable games ever created. they can be games that were discussed in this unit or otherwise. what are some of the consistent factors that made certain games memorable to you? what were some of the consistent factors that made certain games forgettable to you? why? explain.
Answers: 1
question
Computers and Technology, 23.06.2019 03:50
Q-1 which of the following can exist as cloud-based it resources? a. physical serverb. virtual serverc. software programd. network device
Answers: 1
question
Computers and Technology, 23.06.2019 11:50
While preforming before operation pmcs, you notice the front right tire appears slightly under-inflated. what is the proper action?
Answers: 3
question
Computers and Technology, 23.06.2019 20:30
What are some settings you can control when formatting columns?
Answers: 1
You know the right answer?
Create an application for a library and name it fineforoverduebooks. themain() method asks the user...
Questions
question
French, 24.02.2021 16:30
question
Mathematics, 24.02.2021 16:30
question
Mathematics, 24.02.2021 16:30
Questions on the website: 13722361