Name: ________________________________

Honor Code Acknowledgment: _____________________________


CPS 6, Summer 1999                 Random Quiz 1

Due: Monday, May 24, 1999                 5 points


Problem 1: Adding (3 points)

Write a C++ function named Plus so that the function calls:

   Plus();

produces the following output:

##################
#######   ########
#######   ########
####         #####
####         #####
#######   ########
#######   ########
##################










Problem 2: Output (2 points)

Write a main program that uses the function Plus() three times to create three "plus flags" arranged in a column, separated from each other by one blank line.