Two different questions
6) write an application that displays the result of dividing two numbers and displays any remainder.the main () method prompts the user for values and sends them to the dividing method; the dividing method the calculation and displays the results.
8) Write an application that cal calculates and displays the amount of money a user would have if his or her money could be invested at 5% Interest for one year.Create a method that prompts the user for the starting value of the investment and returns it to the calling program. Call a separate method to the calculation and return the result to be displayed.