ITEC 120 LAB 13 Back to Lab index page

Switch statement

Modify the toString method of your Die class which you used in lab 12 to use a switch statment instead of if statements. Recompile and run the driver you wrote for lab12.