Skip to content

Instantly share code, notes, and snippets.

@invatainfo

invatainfo/vocalasaunu.cpp Secret

Created Jan 19, 2018
Embed
What would you like to do?
#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
You can’t perform that action at this time.