Answered step by step
Verified Expert Solution
Link Copied!

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 1: Number of days borrowed, Type of Book
b) Book 2: Number of days borrowed, Type of Book
c) Book 3: Number of days borrowed, Type of Book
d) Book 4: Number of days borrowed, Type of Book
e) Book 5: 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 (Academic/Non-Academic) from a drop-down list.
b) Given the fine rate is RM 1.20 per day.
c) Borrowing limits:
Academic books: 21 days
Non-academic books: 14 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
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Joe Celkos Data And Databases Concepts In Practice

Authors: Joe Celko

1st Edition

1558604324, 978-1558604322

More Books

Students also viewed these Databases questions

Question

What is an isotope?

Answered: 1 week ago

Question

What is the meaning and definition of E-Business?

Answered: 1 week ago

Question

define what is meant by the term human resource management

Answered: 1 week ago