My issue
cant pass task 1
My code
#include <stdio.h>
int main(void) {
int t;
scanf("%d",&t);
while(t--){
long n,j=0,k=1;
char c;
scanf("%ld",&n);
scanf(" ");
while(n--){
scanf("%c",&c);
if (c=='a'||c=='e'||c=='i'||c=='o'||c=='u'){
j=0;
}else{
j++;
}
if (j==4){
printf("NO\n");
k=0;
continue;
}
}
if (k) printf("YES\n");
}
return 0;
}
Problem Link: Easy Pronunciation Practice Coding Problem - CodeChef