1. Create the logic for a program that calculates and displays the amount of money you would have if you invested $1000 at 5 percent interest for one year. Create a separate method to do the calculation and return the result to be displayed.
Create an application named Numbers whose main() method holds two numeric variables. Prompt the user for values for the variables. Pass both variables to methods named sum() and difference(). Create the logic for the methods sum() and difference(); they compute the sum of and difference between the values of two arguments, respectively. Each method should perform the appropriate computation and return the results to main(). Then, display the results from main().