COM 1100 Professor Fell Quiz 3A Solution

1.

1   1
2   3
3   7
4   15
5   31
6   63
7   127

2.

100 1
97 3
88 9
61 27

3.

for(int K = 0; K < 1000; K = K + 7)
		cout << K << endl;

4.

void PaintSquare(int x, int y, int size){
	PaintRect(x, y, x + size, y - size);
}


Last Updated: October 11, 1997 1:01 pm by
Harriet Fell
College of Computer Science, Northeastern University
360 Huntington Avenue #161CN,
Boston, MA 02115
Internet: fell@ccs.neu.edu
Phone: (617) 373-2198 / Fax: (617) 373-5121
The URL for this document is: http://www.ccs.neu.edu/home/fell/COM1100/QUIZ/QUIZ3ASolution.html