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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started