C languageC SolutionChapter 3Programming

Q19 In a company, worker efficiency is determined on the basis of time required for a worker to complete a particular job. If time taken by the worker is between 2-3 hours, then the worker is said to be highly efficient. If time required by the worker is between 3-4 hours, then the worker is ordered to improve speed. If time taken is between 4-5 hours, the worker is given training to improve his speed, and if time taken by the worker is more than 5 hours, then the worker is terminated. If the time taken by the worker is input through the keyboard, write a program to find the efficiency of the worker.

Program: 87

In a company, worker efficiency is determined on the basis of time required for a worker to complete a particular job. If time taken by the worker is between 2-3 hours, then the worker is said to be highly efficient. If time required by the worker is between 3-4 hours, then the worker is ordered to improve speed. If time taken is between 4-5 hours, the worker is given training to improve his speed, and if time taken by the worker is more than 5 hours, then the worker is terminated. If the time taken by the worker is input through the keyboard, write a c program to find the efficiency of the worker.

Output:

 Input the time taken by worker: 3
 Worker is highly efficient
 
 Input the time taken by worker: 4
 Worker needs to improve speed

 Input the time taken by worker: 5
 Give training to worker
 
 Input the time taken by worker: 10
 Worker is terminated

Lokesh Kumar

Being EASTER SCIENCE's founder, Lokesh Kumar wants to share his knowledge and ideas. His motive is "We assist you to choose the best", He believes in different thinking.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.