In a company, employee effectivity is decided on the basis of the time required for a worker to complete a specific job. If the time taken by way of the employee is between 2 – three hours, then the worker is said to be noticeably efficient. If the time required by the worker is between 3 – 4 hours, then the employee is ordered to improve speed. If the time taken is between 4 – 5 hours, the worker is given education to improve his speed, and if the time taken through the worker is greater than 5 hours, then the worker has to leave the company. If the time taken through the worker is enter thru the keyboard, locate the effectivity of the employee
#include<iostream>
using namespace std;
int main()
{
int hours;
cout << "Enter the hours of the worker: " << endl;
cin >> hours;
if(hours <= 3){
cout << "Worker is Highly Efficient: " << endl;
}
else if(hours == 4){
cout << "Improve Your speed! " << endl;
}
else if(hours <= 5){
cout << "You need training to improve your speed: " << endl;
}
else
{
cout << "Please leave this company: " << endl;
}
return 0;
}
0 comments:
Post a Comment
If You Have Any Problem While Downloading Comment Below