Question: program c++ Project Chapter 2 In this project you will create a program that will calculate an employee's salary for the year and will apply

program c++
Project Chapter 2 In this project you will create a program that will calculate an employee's salary for the year and will apply a bonus if they have done a great job this year. Since you will be dealing with currency you will need to use a double datatype when creating your varia bles that hold the base salary and the bonus Please use the following values for your program: . Base salary per month: $2018.10 . Bonus: 15% (Use 0.15 when making the calculation) Use varia bles to hold the base sa lary and the bonus. Your formula to calculate the yearly salary is: Salary for the year (Base salary per month 12) (1 Bonus) $27849.80-(2018 10 12) (1+ 0.15) r. Note: You will learn how to format the output, so you can display the .80, in a later chapte This project covers methods you have learned in chapter 2. Program Output The employees yearly salary is: $27849.8 Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
