Re: Gui Question
- From: "Oliver Wong" <owong@xxxxxxxxxxxxxx>
- Date: Thu, 30 Mar 2006 15:10:24 GMT
"Rhino" <no.offline.contact.please@xxxxxxxxxx> wrote in message news:n9SWf.2319$u15.404207@xxxxxxxxxxxxxxxxxxxxxxxx
It's unfortunate but perhaps inevitable that several aspects of this assignment are not very realistic. In the real world, employees would get entered into the payroll system when they got hired. Information like their name and social security number and annual salary or hourly salary or commission rate would get recorded _once_ and stay in effect until the information changed for some reason. The data would most likely be recorded in a database.
The actual weekly payroll run would not need to capture any of that information anew. The only new data that the payroll run would need would be the number of hours worked that week for hourly employees and the sales for the commissioned employees. Then the payroll program could calculate the amount to pay each employee and print the cheques.
Back in the old days (or so I've heard; I wasn't alive at the time), we didn't have databases, and harddrives were extremely rare. Every week, a set of punch cards would be fed into the machine, along with the data, and the program would calculate everyone's pay from that data. The data had to be fed in every time the program was to run.
- Oliver
.
- Follow-Ups:
- Re: Gui Question
- From: Rhino
- Re: Gui Question
- References:
- Gui Question
- From: IanH
- Re: Gui Question
- From: Rhino
- Re: Gui Question
- From: IanH
- Re: Gui Question
- From: Rhino
- Re: Gui Question
- From: IanH
- Re: Gui Question
- From: Rhino
- Re: Gui Question
- From: IanH
- Re: Gui Question
- From: Rhino
- Gui Question
- Prev by Date: Re: integers and arrays inJava - how?
- Next by Date: Re: Java Architecture
- Previous by thread: Re: Gui Question
- Next by thread: Re: Gui Question
- Index(es):
Relevant Pages
|
|