Question: Please help me with this, I also attach my code under, not sure what I did wrong, thank you so much. Assignment: Write a Java

 Please help me with this, I also attach my code under,

Please help me with this, I also attach my code under, not sure what I did wrong, thank you so much.

not sure what I did wrong, thank you so much. Assignment: Write

Assignment: Write a Java program that computes and prints the yearly tuition over a 1o-year period given a starting tuition amount, starting year and rate of increase. The program also computes and prints the total amount of increase over the 10-year period The program must use a loop to do its calculations! Enter the starting tuition 10000 Enter the starting year 2018 Enter the yearly percent increase 5 Tuition this year (2018) is $ 10,000. Tuition will increase by 5.0% each year Tuition this year (2019) is $ 10,500 Tuition this year (2020) is $ 11,025 Tuition this year (2021) is $ 11,576 Tuition this year (2022) is $ 12,155 Tuition this year (2023) is $ 12,763 Tuition this year (2024) is $ 13,401 Tuition this year (2025) is $ 14,071 Tuition this year (2026) is $ 14,775 Tuition this year (2027) is $ 15,513 Tuition this year (2028) is $ 16,289 The total increase over 10 years is $6,289 To calculate the amount that the tuition will increase by each year: //Be careful of integer division increase amount = tuition * (rate / 100) To calculate the yearly tuition each year Tuition = tuition + increase amount To calculate the total increase over 10 years, add all the increase amounts together

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!