// Print a message only if a number is divisible by 2 or 3. // Written by: Andrew Taylor // Written as a COMP1521 lecture example #include int main(void) { int n; printf("Enter a number: "); scanf("%d", &n); if (n % 2 == 0) goto two_three_print; if (n % 3 == 0) goto two_three_print; goto epilogue; two_three_print: printf("two-three-ish\n"); epilogue: return 0; }