Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
lab5!
//gcc 5.4.0 #include <stdio.h> int main(void) { char ch; scanf("%c", &ch); switch(ch) { case 'A': printf("\n vowel"); break; case 'E': printf("\n vowel"); break; case 'I': printf("\n vowel"); break; case 'O': printf("\n vowel"); break; case 'U': printf("\n vowel"); break; case 'a': printf("\n vowel"); break; case 'e': printf("\n vowel"); break; case 'i': printf("\n vowel"); break; case 'o': printf("\n vowel"); break; case 'u': printf("\n vowel"); break; default: printf("input is not a vowel but rather a consonant, digit, or special character"); } return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Midterm practice, turn into for loop
Largest and smallest
Función bsearch
Run code before/after main in C (GCC)
Lab 6 v1
Hello world.c
Iterated sums
pseudo hw v.05
a.c
Cuenta codigos
Please log in to post a comment.