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.

Lucaci Andrew commented: I'm not even going to reply to this one... Read our member rules. -1

those aren't questions, those are your assignments.
what exactly are you having trouble with?