I am developing a program that prints an options menu - the menu displays options and each option has a corresponding value - I want to use the SWITCH for each case statement. My questions is:
I will have functions do the grunt work for each menu option -
Check out video(s)
Find all videos out to a customer
Add a new video(s)
Print inventory list (sorted by...)
Each option above with have a function do the work - would the function be embedded in the case expression? If so, what would that look like?