Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

There are 50 employees in an organization Create a “struct” called “employee” to

ID: 3615536 • Letter: T

Question

  • There are 50 employees in an organization
  • Create a “struct” called “employee” tohold the following employee records
    • Employee ID (0 to 49)
    • Employee Salary (2500 to 3500)
    • Employee Status (F or P)
  • struct will create a user-defined data-type for employeeinformation
  • All the 50 employee’s record should have the samedata-type of “struct employee”
    • Hint: Create a employee array of type“employee”
  • Randomly fill the salary and status values for all employees(using looping)
  • Ask user to enter a number between 0 to 49, say X
Print the employee X’s information

Create this information using a "Struct" and the Same With a"Class"

Explanation / Answer

x.