program in python A company decided to give bonus of 5% to employee if his/her year of service is more than 5 years.
Ask user for their salary and year of service and print the net bonus amount.
Answers
Answer:
Here is how to design a company decided to give bonus of 5% to employee if his/her year of service is more than 5 years.
Explanation:
#include <iostream>
using namespace std;
int main()
{
int salary, years, bonus;
cout << "Enter your Salary : ";
cin >> salary;
cout << "Enter your year of service : ";
cin >> years;
if (years > 5)
{
bonus = salary * 5/100;
cout << "Your bonus amount is " << bonus;
}
else{
cout << "You don't have any bonus amount";
}
return 0;
}
Businesses that provide high-quality services are very helpful to many people. I'm also prepared to share with you that I work for a major corporation where it's possible to make good money and have a respectable salary. So, I discovered a job marketplace where I could look for various positions, pick the greatest fit for me, and then submit my résumé. As a result, if you're looking for work, this tool will assist you in doing so.
See more:
https://brainly.in/question/34507264
#SPJ1