Question: Hi there I need help coding this in C Language. Make sure it is C, thank you very much and I will for sure thumbs

Hi there I need help coding this in C Language. Make sure it is C, thank you very much and I will for sure thumbs up any help!

Hi there I need help coding this in C Language. Make sure

Here are the instructions:

Also here is the starting code to use:

#define _CRT_SECURE_NO_WARNINGS

#include #include #include

#define WORKERMAX 25

//prototype for giveRaise

//prototype for printEmployees

int main(void) {

//declare structure definition

//declare array of structures

//call giveRaise

//call printEmployees

}

//Functions defined here including both giveRaise and printEmployees

2. The goal of this problem is to create an array of structures to implement an employee salary system. The only function students are to write is giveRaise. Goals of the problem: 1. Create an array of employee structures the size of WORKERMAX. 2. Create the employee structure with the following fields: fName - first name of 15 characters. IName - last name of 20 characters. years - number of years of service, store as an integer. salary - amount of pay as type double as an hourly amount. state - state of employee, 2 characters. 3. Create the function, call, and prototype for the function giveRaise. Rules of algorithm: All employees with years of service over 5 years and earn less than 18.00 dollars an hour earn a 10% raise. if the employee has years of service less than 3 years and lives in California (CA), then give a raise of 18%, otherwise 12%. 4. Create the function to print the entire array of data. Assume all numeric fields are initialized to zero, therefore print until the element in the array has years equal to zero. Function name is printEmployees

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!