Need help in create menu with 3 sub menu using the case command

hi all i am a newbie to this

is there any examples on creating a main menu with 3 sub menu

main menu -> option a , b and c
a menu -> option 1 ,2 and 3
b menu -> option 1 ,2
c menu -> option 1 ,2

i am getting headache as my code kept getting unexpected EOF

---------- Post updated at 09:27 PM ---------- Previous update was at 09:24 PM ----------

please ignore as i got it