Ok i have a program to build but i have no idea how to do it. Can anyone help please?
Using modules, create a file of records that have the following fields for employees:
-SSN
-Last name
-First name
-Zip
-Age
-date of hire
Have one module input the records into an array and sort the array by age. Have a separate module print out the list of names by age.
Have another module sort retrieve the records and sort them by SSN. Have a module permit you to search for a particular ssn and display that record if found. If not found, it should say "Record not found"
Have you program built around a menu that permits the following choices:
-Create file
-Add records to file
-Print all records by age
-Find an employee.
Given the level of the question, you should know the basics by now! (Or you're on the wrong course?)
The first I would do is go through the description and create a list of modules and what they do, using bullet points. I also like to use block diagrams!
Each individual it should be pretty easy for you by now (e.g. loading a file, printing a list).