Project 1 : A Simple First Project



Summary: lets practice with files and basic go



Due: Wednesday Sept 30th at 11:59pm

(I'll give project 2 to the grad students before this one is due.


Details:


Create a new project. Make sure it has your name in it somewhere in the project name.


(granted I am pushing the limits to try and get a simple program which practices lots of what we learned, some of this may seem forced)


Write go go program that has functions



The main function will

  1. Start a command line shell like loop - offer the user a menu of choices and read the user's typed reply

    1. switch on the reply and choose one of the options. Each one should invoke a function (those are described below).
    2. one of the options should be to quit the program - when the user chooses that one do so
    3. Keep asking what the user wants to do and then doing it until the user chooses to end the program.

The one function will

  1. Open a file of the user's choosing and read it in.

    1. ask the user for a number X, print every Xth line of the file to the screen

The next function will

The next function will

The next function will


Submitting the project.


submit the project by putting it on github and sending me a collaboration invite.