minor touchup, covering other case(s) for "y"

This commit is contained in:
Dan Buch 2011-09-13 22:44:00 -04:00
parent 049e7d4825
commit 64879fb2ad

4
ex13.c
View File

@ -41,11 +41,13 @@ int main(int argc, char *argv[])
case 'Y':
if (i > 2) {
printf("%d: 'Y'\n", i);
} else {
printf("%d: 'Y' isn't a vowel this time\n", i);
}
break;
default:
printf("%d: %c is not a vowel\n", i, letter);
printf("%d: '%c' is not a vowel\n", i, letter);
}
}