Question: In this project we will maintain an array that contains information about a list of employees. The main purpose of this project is to serve

 In this project we will maintain an array that contains information

In this project we will maintain an array that contains information about a list of employees. The main purpose of this project is to serve as a basic C-review as well as show you how the inputs for our projects will be formatted (reading from a file where each line of the file contains one "input" or "command"). Note that we give you a sample input file to work with and test your code, but your code should be written generally enough to handle other input files that have the same formatting (different number of employees, different names, etc.). Files provided in the project: 1) Projecto.h. The file now only contains a comment. You need to an Employee struct in this file. The struct should contain 3 variables. a. A C-string for the name. You can assume that no name is more than 9 characters long, so this can be a character array of size 10 (to account for the null character). b. An integer for the ID. Each ID is a 6-digit number. c. A double for the Employee's hourly rate. 2) abc123Projecto.c. Rename this file to your abc123. This file includes Projecto.h. stdlib.h, and stdio.h contains a main() function with comments for what you need to implement 3) Makefile. Update the makefile to reflect your abc123. You can implement your code however you like, however before submitting ensure your project compiles on the fox servers using this makefile. If it does not compile using the makefile then you will get 0 points! You can compile using the command make and you can execute your program using /projecto. 4) ProjectOinput.txt. The first line of the file denotes the number of employees. In the sample input this number is 28. Each employee's information is listed on a single line in the following format: "name ID HourlyRate". Again, when we test your code we will be using a different file than this one, but it will still be in this same format

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!