Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Vowel Assignment
//gcc 5.4.0 #include <stdio.h> int main(void) { /*Write a c program to enter any alphabet and check whether alphabet is vowel or consonant using switch case. C program for checking vowels and consonants using switch*/ char letter; scanf("%c", &letter); switch (letter) { case 'a': printf("The letter %c is a vowel", letter); break; case 'e': printf("The letter %c is a vowel", letter); break; case 'i': printf("The letter %c is a vowel", letter); break; case 'o': printf("The letter %c is a vowel", letter); break; case 'u': printf("The letter %c is a vowel", letter); break; default: printf("This letter is not a vowel"); break; } return 0; }
run
|
edit
|
history
|
help
0
Bool datatype Operation for GCC
Mem alloc test
linkedlist
3.1.3 Quick sort, Merge sort
Lab 11 v1.0
fgets and basic string manipulation
18BCE2182 ASSESS_1 Q1-4
Spring 2017 Project 2 v.05
BST
Bool datatype Operation for GCC