Question: Write an application that prompts a user for a childs current age and the estimated college costs for that child at age 18. Continue to
Write an application that prompts a user for a childs current age and the estimated college costs for that child at age 18.
Continue to reprompt a user who enters an age value greater than 18.
Display the amount that the user needs to save each year until the child turns 18, assuming that no interest is earned on the money.
Assume that integer division provides a sufficient answer.
Save the file as CollegeCost.java.
Also create the application/project CollegeCostTest.java class that has the main method and an object that uses the CollegeCost class.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
