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
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started