Question: C programing Write a program that a. defines a structure called Employee that contains a character member called id that can hold an id that

C programing

C programing Write a program that a. defines a structure called Employee

Write a program that a. defines a structure called Employee that contains a character member called id that can hold an id that is up to 9 characters long and a float member representing the salary. b. Define and integer variable named Employees Count and initialize it to 3 employees. c. Allocate enough memory for an array to hold the information for the following three employees Employee ID: John01 Employee Salary: 1000.000000 Employee ID: John11 Employee Salary: 1100.000000 Employee ID: John22 Employee Salary: 2200.000000 d. Have your program give every employee a raise of 10% and display the new information about your employees (The program has to calculate the ne salary and not you using a calculator) e. Your program must not cause any memory leaks

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!