Question: ON CENGAGE MINDTAP - Create an application for a library and name it FineForOverdueBooks . TheMain() method asks the user to input the number of
ON CENGAGE MINDTAP
-
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.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
