Write a program that creates a struct called employee. The employee struct has a name, an hourly wage, and numberOfHours

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Write a program that creates a struct called employee. The employee struct has a name, an hourly wage, and numberOfHours

Post by answerhappygod »

Write a program that creates a struct called employee. Theemployee struct has a name, an hourly wage, andnumberOfHoursPerMonth. You are then to create a program thataccepts data for ten employees and saves the data in an array ofsize ten. Once you are done with that, you are to go over all theten employees in the array and print their hourlyWage multiplied bythe numberOfHoursPerMonth beside their name. (with comments)
For example:
Mona 100 Salma 500 Ahmed 600 ...
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply