-
-
Save invatainfo/cf30bd3d1f366be4d0f8f6c4b0a2c18e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string.h> | |
using namespace std; | |
int main(){ | |
char a[51],vocale[]="aeiou"; | |
cin.get(a,50); | |
int i; | |
for (i = 0; i < strlen(a); i++) | |
{ | |
if(strchr(vocale,a[i])==NULL) | |
cout<<a[i]<<" nu este vocala"<<endl; | |
else | |
cout<<a[i]<<" este vocala"<<endl; | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment