Code:
printf("\n\nWhat would you like to see?\n");
It says error: expected ')' before ';' token

Code:
  )
    case (2):


error: expected ';' before 'case'
Code:
 case(4):
error: case label not within a switch statement|
Code:
default:  printf("\n%d is not a valid choice.\n", choice1);
error: 'default' label not within a switch statement

All of these appear fine to me, but the build did not happen and in the book it is the way it appears on-screen. So, anything?

Thanks.