1094: 统计元音(函数专题)
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
String S="aeiouAEIOU";Scanner cin = new Scanner(System.in);String s=cin.nextLine();int result=0;for(int i=0;i<s.length();i++)if(S.indexOf(s.charAt(i))>=0)result++;System.out.println(result);}
}