Posted by jon on Tuesday, September 29, 2009 at 4:21pm.
You have been hired by the local library to build a small program which will assist
in calculating the fines for overdue items returned past their due date. For this
first portion of the program, you need to create a simple program which will
complete the following tasks:
• Display text to ask for the name of the item being returned, then read in
• Display text to ask for the number of days the item is overdue, then read
in the number of days overdue.
• Display text to request the amount of the fine per day (different items may
have different amounts), then read in the amount of the fine per day for
• Calculate the overdue amount for the item.
• Print out the resulting overdue amount with the name of the item, the
number of days overdue, and the amount of the total fine. The display
should print the monetary amount with the ($) indicator and 2 decimal
places (i.e. “Checking in the item <<item name>>, which was <<days
overdue>> days overdue. The total fine is $0.02”
Answer this Question
PHI103 - Cathy owes the local video store six overdue movies.Each of Cathy's...
psy - Cathy owes six overdue movies to her local video store. Since each of ...
Java - Can someone please help me out!!!I included what I have so far. *Purpose ...
statistics - 2. Punkey Electronics, a small manufacturer of electronic research ...
s.s. - what program hired young black men to plant trees and build parks?
computers - You have been hired by your local library to help it set up a LAN to...
Java - Can anybody help me figure how to post a Java file to as an attachment. I...
programing - A small startup software developer company needs to create a ...
java - Write a java application that finds the smallest of several integers. ...
computer Programming - A small startup software developer company needs to ...
For Further Reading