Pascal

Moderators: None (Apply to moderate this forum)
Number of threads: 4095
Number of posts: 14004

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
record of employees Posted by dlord87 on 21 Jun 2012 at 10:53 AM
First of all, sorry for my english.
I need help to make a program to the university. Does anybody now how to do

it in pascal?


Make a program to store records of employees in a binary file named

employees.dat. The program should use linked list sorts which reads the file

at the beginning and fill the list, and at the end save the list in the file

employees.dat. The field "data" of the linked list sort must be a record

with the following structure:

Registration: integer;
Name: string;
Salary: real;

The program must have the following menu:
1 - Include an employee
2 - Calculate increase of salary
3 - List employees
9 - Exit

The first item is the inclusion of employees using linked list sorts. The

second item is for, if authorized, increase the employees salary in 5% and

update the new value. The item 3 should list the employees with their

registration, name and salary. The item 9 is used to exit the program.
To make the programe, you should use functions or procedures, according to

the need of the program.




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.