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 ...
Maths - Frosni receieved her credit card statement, which showed she owed $5850...
CS - build a program that produce a bar chart showing the population growth of ...
Java - Can someone please help me out!!!I included what I have so far. *Purpose ...
English - 1. We should not scribble in books in the library. 2. We should not ...
s.s. - what program hired young black men to plant trees and build parks?
statistics - 2. Punkey Electronics, a small manufacturer of electronic research ...
computers - You have been hired by your local library to help it set up a LAN to...
statistics - Five percent of all items sold by mail order company are returned ...