Page 1 of 1

QUESTION: Ren Calon A company wants to reward its employees for their service. You are assigned the task of writing a C+

Posted: Sat Feb 19, 2022 3:23 pm
by answerhappygod
Question Ren Calon A Company Wants To Reward Its Employees For Their Service You Are Assigned The Task Of Writing A C 1
Question Ren Calon A Company Wants To Reward Its Employees For Their Service You Are Assigned The Task Of Writing A C 1 (24.16 KiB) Viewed 30 times
QUESTION: Ren Calon A company wants to reward its employees for their service. You are assigned the task of writing a C++ program to calculate the reward. Your program should input the employee's salary and years of service. Employees who served 7 years or loss should get 1.5x Salary. Others should get 25 x Salary Please note that the salary can contain fractions (0.g. 12045.35). Make your input/output similar to the sample input/output. Sample output Enter employee's salary: 8000 Enter years of service: 5 Reward in calculated an AED 12000 Sample output 2: Enter employee's salary: 10000 Enter years of service: 15 Reward is calculated as: AED 25000 Sample output Enter employee's salary: 11051.15 Enter years of service: 9 Reward is calculated as : AED 27627.9