Discuss the below:
Q: Suppose that the tuition for a university is $ 10,000 this year and increases 5% every year. Write a Java program that uses a loop to compute the tuition in ten years. Write another Java program that computes the total cost of four years worth of tuition starting ten years from now.