I am lost on this code, I have been trying to get this assignment done and I need help, could someone fix my code please??

"Write a Java application to do the following:

a. Allow a user to...