Question: C Programming Write a structure to store the names, Date of Join, salary and hours of work per day of employees in a company. Write


C Programming
Write a structure to store the names, Date of Join, salary and hours of work per day of employees in a company. Write a program to increase the salary depending on the Years of experience and number of hours of work per day as follows and then print the incremented salary. Years of 10 Experiance Hours of work per day 8 10 >=12 Increase in salary Rs.50 Rs.100 Rs.150 Note: Date of Join should be a nested structure. Years of experience should be calculated with the input current date Input format The first line of the input consists of the joining date(date,month,year), salary and working hours separated by a space. Next line consists of the current date(date,month,year). Output format Output prints the incremented salary. Sample testcases Input 1 Output 1 20050 20 10 2005 20000 8 12 5 2008 Input 2 Output 2 12 8 2009 15000 10 15100 5 6 2018
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
