Monday, February 20, 2006

Today we will be continuing our look at functions. We will be learning how to use conditional statements as well as how to receive input from the user.



Create a program that will greet a user, then ask for their name and age.
Then the computer will print a blank line for each year of their age and say good-bye using the name given at the beginning.

You will need to create a function for the blank lines.

When you have completed it, post the program on your blog. Be sure to use
 and 
tags in "Edit Html" mode so that I can see the indentations.

No comments:

The OFFICIAL Dilbert Widget