

Fine Period- After return date Fine Amount First week (from day 1 until day 7) $1 per day Second week (from day 8 until day 14) $3 per day After second week $5 per dayįine for Michael => (7 * 1) + (7 * 3) + (1 * 5) = 33/- Output format Create another method that can be used to calculate fines for each user and write them to a file named fineReport.txt. ↓ Download the fineDetails.txt file.įile “fineDetails.txt” contains, Emily,The Bourne Identity,5ī. Note:- Actual text file (fineDetails.txt) contains comma-separated data fields. User Name Book Name No of Days (Late) Emily The Bourne Identity 5 Michael The List 15

Two sample rows of the data are given below. Create a method to read data from the fine “fineDetails.txt” stored in your home (D:/) drive and store the data using a suitable data structure. Create a new Project named S16xxxQ1 for the library fine program in Java and implement the functionality described below.Ī. As the first step, you are asked to create a system that can be used to handle the report generation of the Library, specifically to calculate and generate the reports for fining details for each user. The City Library is planning to computerize their work in order to provide an efficient service. Electricity Billing System Project in Java With Source Code (Free Download) 2022 Description:- City Library Fine Report in Java
