ongratulations on your new job! Your boss even promised that you will get least 2% annual salary raise starting from the second year. Create a program using Raptor that allows user enter current salary, annual raise rate, and years the user plan to work, and then calculate and display proposed salary for each year and total salary for those years. See below for the sample input/output: Enter Salary Offered: 50000 Enter Annual Raise Rate: 0.03 Years Planned to Work: 5 Salary in 5 Years Year Salary1 $500002 $515003 $530454 $54636.355 $56275.44Total: $265456.79
Congratulations on your new job! Your boss even promised that you will get least 2% annual salary raise starting from the second year. Create a
Enter Salary Offered: 50000
Enter Annual Raise Rate: 0.03
Years Planned to Work: 5
Salary in 5 Years Year Salary1 $500002 $515003 $530454 $54636.355 $56275.44Total: $265456.79
The requirement is to create a flowchart in Raptor that takes Salary Offered, Anuual Raise percentage and total years planned to work.
Based on the input, a loop will be executed and per year hiked salary will be printed.
At the end , after 5 years, total salary will be printed.
Trending now
This is a popular solution!
Step by step
Solved in 5 steps with 5 images