Comp 151-H Project 4

A "let's work with files, lists and functions" project.


Due: April 11th at 11:59pm

Description

This project is intended to help those of you who are still a little nervous about programming to become more comfortable with it while practicing with lists.

You will build a "Fortune cookie" program. For those of you not familiar with it, once upon a time there was a command line program for power users which would give a random saying printed on the command line. Often bored graduate students would sit at a terminal and keep reading these way too many times.

You will write a small simplified version of the fortune program. Your program needs to be

In your program you will

Don't forget to comment your program.


Additional requirement:

use functions. Make sure that none of your functions has more than 8 lines of code in it. The usual rule of thumb is that each of your functions should do one thing.

Submission:

Submit the lab via blackboard as usual. Don't forget to make sure your file has you name in the file name.