Loop is repeated an additional time as shown in the screenshot:Code:#include <stdio.h> #include<ctype.h> void try5t(){ char choice; int choiceint; do{ printf("1.\tZoo\n2.\tMall\n3.\tExit\n\n"); printf("Choose a place by entering its numerical value: "); scanf("%c", &choice); choiceint = choice - '0'; //DEBUG printf("\nchoiceint is %d\n",choiceint); if(!isdigit(choice) && choiceint > 3){ printf("You did not enter an accepted digit.\n"); } else if(choiceint != 3){ switch(choiceint){ case 1: printf("You chose the Zoo.\n"); break; case 2: printf("You chose the Mall.\n"); break; }// end of switch }// end of else if else{ }// end of else }// end of do while(choiceint !=3); }