Design an algorithm that displays the following menu, gets the user’s selection, and validates
the selection.
Main Menu
Open a new document.
Close the current document.
Print the current document.
Exit the program.
Enter your selection.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here