Question: please help with my homework, i already ask once on chegg but the expert was giving the wrong answer. Design, code and debug a program
Design, code and debug a program which creates a typedef for a structure called employee that contains the following data: a 50 character string (50 does not include the terminating \) called name an integer called employee_number a double called salary Create an array of the type employee in function main. The array will hold a maximum of 20 structures of type employee. Pass the array to a function called getem( ) that prompts the user for input and obtains the required data for the structure. Recall that in C arrays are passed by reference so the changes in getem should be reflected in main. Create a second function called showem( ) that is called from main and displays all the data items in the structure
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
