Chris Pollett>Old Classes>PIC 10a, Spring 2000>Hw5

Spring 2000 PIC 10a HW #5

Due by 10:30a.m. May 26

Do exercises page 354 number 4 and page 429 number 6. Submit the first problem as Counter.cpp and the second one as Blackjack.cpp. For Blackjack.cpp you are required to use both a switch statement and a for loop. The purpose of this homework is to become more familiar with classes by implementing a simple counter class as well as to gain practice using switch and for loops.

Homework 5 FAQ.

Homework 5 Solution.