Scanner object help
Can someone help me understand how I would go by doing this coding with this requirement for my code below. For my code, I need my program to run silently until given input, and I am not sure how I would run silently until given input. Below is something I need to try to do, does anyone know how to do it. I have a code below that I did so far, i just need to do the following instruction below and I don’t know how to start?? “I need to make sure the main method accepts an amount of input appropriate to the chosen method after a choice is made (so, after a case has been selected). This means that within each case in your switch case block, you need to use the scanner to take in the fields that should be read. For add and remove, you'll need to accept input for the person, oldAddress, and newAddress, while for the mail case you only need the person and one address. It looks like you declared the variables for these uses already, so all it will take is assigning whatever the scanner reads to those variables before they're plugged into the mailSystem methods.” https://code.sololearn.com/cAzTZ403RkYV/?ref=app