COM 1100 Professor Fell Quiz 8A Solution
Problem 1
5 7 9
1 3 2
9 5 4
Problem 2
5 7 2
5 7 10
6 8 11
5 7 35
Problem 3
for (N = 1; N <= 243; N *= 3)
	if (N == 1) cout << 1;
	else cout << " $ " << N;
Problem 4
double Circumference(double radius){
	return 2*pi*radius;		// pi is a constant
}
Problem 5
bool IsVowel(char ch){
	return ((ch == 'A') or (ch == 'E') or (ch == 'I') or (ch == 'O') or (ch == 'U'));
}
Problem 6
0 3
1 5
2 4
3 3
4 3
5 7
6 3
7 6
0 3
0 3
1 5
Last Updated:  March 11, 1998  11:48 am 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/Q8BSolution.html