Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

image text in transcribed

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

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 Programming With Visual Basic .NET

Authors: Carsten Thomsen

2nd Edition

1590590325, 978-1590590324

More Books

Students also viewed these Databases questions

Question

Question Can employees make contributions to a profit sharing plan?

Answered: 1 week ago

Question

Define procedural justice. How does that relate to unions?

Answered: 1 week ago

Question

What is Indian Polity and Governance ?

Answered: 1 week ago