Untitled
raw download clone
TEXT
views 26
,
size 373 b
#include<iostream>
#include<cstring>
using namespace std;
int i;
int nr_vocale(char s[101])
{
    char voc[]="aeiouAEIOU";
    if(strlen(s)==1)
        if(strchr(voc,s[0]))
            return 1;
        else
            return 0;
    else
        if(strchr(voc,s[0]))
            return 1+nr_vocale(s+1);
        else
            return nr_vocale(s+1);

}
close fullscreen
Login or Register to edit or fork this paste. It's free.