making menu

what is the code in c programing to make menu for 4 function and the fifth one to exit?
is it possible to go up and down by using keyboard then choose between menus by pressing enter?
in the first page, menu is printed and when i choose one of them all of the page become clear and chosen function works.