Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please do it in C programming language in 15 minutes. PLEASE! Suppose, you are running a company where 50 employees work. (3+3+5+5) Design a structure

Please do it in C programming language in 15 minutes. PLEASE!

Suppose, you are running a company where 50 employees work. (3+3+5+5)

Design a structure name Employee to store their Name, Age, Basic salary, Bonus and any other thing that is needed.

Take all the data for all the employees from user.

Write a function name emp_bonus(). For those persons who are older than 50 years, will get a bonus which is 40% of their basic salary. The rest of the people will get 25% bonus of their salary. Print the name and the total salary of every employee.

Open a text file name Employee_Data. If the file opens successfully, write all the employees name and age on that file.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Machine Performance Modeling Methodologies And Evaluation Strategies Lncs 257

Authors: Francesca Cesarini ,Silvio Salza

1st Edition

3540179429, 978-3540179429

More Books

Students also viewed these Databases questions

Question

Question What is a Roth 401(k) feature?

Answered: 1 week ago