cleaning up the main() function

In this lesson:
  • Adding function to get desired user action
  • Building a simple loop in main()
  • Some problems and a solution with getchar()
Running time: 17:34