Lecture 9: Iteration (tool to give prior to lecture)

Activity: Two Column Task Organizer



Given the following task, describe concepts that you know that will help you complete the task.  In the second column, describe concepts that you will need to solve the problem.  The items in the second column may be concepts we have not yet covered in lecture.

Task:  Write a C function to print a box of stars with dimensions width by height.  If width or height is less than 1, do not print any stars.  For example, a call to PrintBox(5,3) would result in the following printout:
*****
*****
*****

Remember, you do not need to write the syntax of the function.  You are to complete the chart below.
 
What you know What you need to find out