but im getting an error, here
import java.io.*;
class Check
{
public static void main(String adish[])throws IOException
{
BufferedReader br=new BufferedReader (new InputStreamReader(System.in));
String s; boolean f=false;
System.out.println("Whats on your mind? ");
s=br.readLine();
s=s+" ";
int l,ll;
l=s.length();
int i,k,v1,c; char ch;c=0;
String w=" ";
for(i=0;i<l;i++)
{
ch=s.charAt(i);
if(ch!=' ' && ch!='.' && ch!=',')
{
w=w+ch;
}
if(ch==' ' || ch=='.' || ch==',')
{
ll=w.length();
w=w.toUpperCase();
for(k=0;k<ll;k++)
{
if(w.charAt(k)=='A' || w.charAt(k)=='E' || w.charAt(k)=='I' || w.charAt(k)=='O' || w.charAt(k)=='U' && w.charAt(k+1)=='A' || w.charAt(k+1)=='E' || w.charAt(k+1)=='I' || w.charAt(k+1)=='O' || w.charAt(k+1)=='U')
{
System.out.print(w+" ");
c=c+1;
f=true;
w=" ";
}
}
}
}
System.out.println(c);
}
}
what i get is in the attachment