/* A program which will input a String and count the number of vowels */ import java.util.Scanner; public class CountVowels { public static void main(String[] args) { Scanner in = new Scanner(System.in); System.out.print("Enter a String: "); String message = in.next(); int count = 0; // count the number of vowels char temp; // to store each char in message for(int i=0;i