minor touchup, covering other case(s) for "y"
This commit is contained in:
parent
049e7d4825
commit
64879fb2ad
4
ex13.c
4
ex13.c
@ -41,11 +41,13 @@ int main(int argc, char *argv[])
|
|||||||
case 'Y':
|
case 'Y':
|
||||||
if (i > 2) {
|
if (i > 2) {
|
||||||
printf("%d: 'Y'\n", i);
|
printf("%d: 'Y'\n", i);
|
||||||
|
} else {
|
||||||
|
printf("%d: 'Y' isn't a vowel this time\n", i);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
printf("%d: %c is not a vowel\n", i, letter);
|
printf("%d: '%c' is not a vowel\n", i, letter);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user