Question: 2) [20 points) Salary Forecast Create the Salary Forecast solution you created in Lab 1 as a Java program. Prompt the user for an integer

 2) [20 points) Salary Forecast Create the Salary Forecast solution you

2) [20 points) Salary Forecast Create the Salary Forecast solution you created in Lab 1 as a Java program. Prompt the user for an integer as the annual raise percent, and then prompt for a double as starting annual salary. Calculate the raise amount and new salary for each of the next 10 years. Align the data in three columns (using printf) as shown in the sample output below: Sample run: f java SalaryForecast Enter annual raise %: 5 Enter current salary: 48000 Year Raise Salary 2019 $ 48,000.00 2020 $ 2,400.00 $ 50,400.00 2021 $ 2,520.00 $ 52,920.00 2022 $ 2,646.00 $ 55,566.00 2023 $ 2,778.30 $ 58,344.30 2024 $ 2,917.22 $ 61,261.52 2025 $ 3,063.08 $ 64,324.59 2026 $ 3, 216.23 $ 67,540.82 2027 $ 3,377.04 $ 70,917.86 2028 $ 3,545.89 $ 74,463.75 2029 $ 3,723.19 $ 78,186.94

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!