Lab 7 switch statements

Don't forget your error checking! Your program output should display all possible outcomes for your program.


Lab 7-1 switch with character (10 points)

 


Lab 7-2 switch with integer (10 points)


Lab 7 Enrichment

Text Programming Problems:

p. 201 # 7, #10, #1, #12

Terminating a program with the assert function (pp. 186-188)