Computer Science I for majors by James Tam

Return to the course web page

CPSC 231: Extra Practice Assignment

Not graded, work on it at your own pace

Description of program

Program asks for a valid phone number until one is entered.  Valid phone numbers are 7 digits long, cannot have the first digit 0, and may contain embedded blanks or dashes.

[Solution]