Answered step by step
Verified Expert Solution
Question
1 Approved Answer
this is a java question, pls help me to continue coding D . Library Fine Calculator Introduction: The Library Fine Calculator module helps students calculate
this is a java question, pls help me to continue coding
D Library Fine Calculator
Introduction:
The Library Fine Calculator module helps students calculate the fine amount for overdue
library books based on the number of days that exceed the borrowing limit
Input:
a Book : Number of days borrowed, Type of Book
b Book : Number of days borrowed, Type of Book
c Book : Number of days borrowed, Type of Book
d Book : Number of days borrowed, Type of Book
e Book : Number of days borrowed, Type of Book
Display:
a Number of books overdue
b Total amount to be paid
Requirements:
a Users can select the type of book AcademicNonAcademic from a dropdown list.
b Given the fine rate is RM per day.
c Borrowing limits:
Academic books: days
Nonacademic books: days.
Calculations:
a Calculate the number of days overdue:
Number of Days Overdue Number of Days Borrowed Borrowing Limit
b Calculate the fine amount:
Fine Amount Number of Days Overdue Fine Rate
c The total amount to be paid:
Total fine amount for all books combined
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started