From 64879fb2adb90b30100f1cee0e1a3f85d0943dad Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Tue, 13 Sep 2011 22:44:00 -0400 Subject: [PATCH] minor touchup, covering other case(s) for "y" --- ex13.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ex13.c b/ex13.c index a3fad4e..dd086fb 100644 --- a/ex13.c +++ b/ex13.c @@ -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); } }