Question: Need the Code in C, Just wondering how to do this since im Fairly new to C. all information if given and there should be

Need the Code in C, Just wondering how to do this since im Fairly new to C. all information if given and there should be no other code. any help would be great as Im just entering into the world of c programing.

I need to write a code that keeps an array that holds information about a group a employees. list below and it includes the 12 at the top of the text file This denotes that there are 12 employees, but it should also be able to hold more than 12 people within the text file. It needs a Struct file for the employees that contains the definition of an struct for the employee (and should make use of 3 variables, using a c string for the employees name, using an integer for the Work number and a double rounded to 2 decimal places for the hourly rate) the main file makes use of #include , #include (For the malloc, free...) #include "structFile.h" (this is our own file). This is where the main file should be that calls and puts it all together.

12 Chloe 685479 17.20 Sophie 582469 14.55 Jessica 958425 18.95 Emily 365789 12.30 Amelia 745896 10.05 Grace 156875 16.98 Casey 146987 18.32 Eden 268194 17.62 Cain 789948 12.59 Bruce 162948 18.73 Nicolas 569826 16.38 Haris 789258 19.99

If anything else is needed I will try and update it but for now this should be all again would really see how to do this in C.

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!