include
#include
char c;
char vowels [80];
int i;
int main (){
strcpy(vowels "aeiou AEIOU");
printf(":");
c = getchar();
for (i = 0; 1<10; i++){
if (c == vowel [i]){
printf("its vowel\n");
break;
}
}
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
VulpesRank #55 · 29.2K reputationPosted Aug 17, 2012, 1:57 AM EDT
Try instead:
Dorababu MekaRank #457 · 5.5K reputationPosted Aug 17, 2012, 1:58 AM EDT