Question: Write a C program with the following specifications : Write the definition of a structure named employee that contains character array members for an employees
Write a C program with the following specifications : Write the definition of a structure named employee that contains character array members for an employees first and last names of size 20, an int member for the employees age, a char member that contains 'M' or 'F' for the employees gender, and a double member for the employees hourly salary. Using the above-mentioned definition, write a C program that asks a user to enter the values of 20 employees and save them in an array of employees.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
