JAVA How to write a loop to realize the menu below. My code will allow the entire word to be input but I don't want it. Please help me fix it! Patient Records Program - Please choose an option. L - List patients U - Update patient A - Add patient Q - Quit Option: Update Invalid option Patient Records Program - Please choose an option. L - List patients U - Update patient A - Add patient Q - Quit.