java program to count no of vowels in String

preview_player
Показать описание
in this video you will see to count no of vowels in the given string.
Рекомендации по теме
Комментарии
Автор

String s="Vishwanath kadam";
int count=0;
s=s.toLowerCase();
System.out.println(s);
for (int i=0;i<s.length();i++)
{

count++;

}
System.out.println(count);

}
hello sir
what is wrog in this code
answer is showing total count

hxgg