We looked at making a menu in the ASCii art task.
You could start by looking at the following page...
The above page shows you how to create a menu and a system to respond to the menu choices.
Task two asks for a menu as above with 5 options.
It is probably best to use a definition DEF(): to show the menu whenever needed. - It will look something like the one below - you may choose to use 1,2,3,4 etc rather than letters but that is up to you.
I wrote another piece of code (definition) to get the user input and then another to respond to the menu options as follows. - You do not have to do it this way if you find it easier to write the code as part of the menu definition.
This code (below) is a routine that responds to the menu choice - I am returning a value to the start of the program to show when a Quit option has been selected.