Thursday, May 2, 2013

assignment one: Fortune Telling Machine.
goals: input and output from the terminal, command line arguments, string manipulation, arrays, switch statements.

Write a fortune telling program that takes the users first name as a command line argument.  It then asks the user to choose their zodiac sign from a list. It then uses a number generated from  their name, a number from the sign and a number from the date to choose a fortune and return a personalized message to the user.


No comments:

Post a Comment