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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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 29 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply