Search:

Type: Posts; User: hofamilyiiii

Search: Search took 0.09 seconds.

  1. Replies
    6
    Views
    5,732

    Re: Recursive Method to count vowel

    public static void checkVowel(String word, int i, int last, int count) {
    if (i == last)
    {
    System.out.println("Total number of vowel is " + count);
    }
    ...
  2. Replies
    6
    Views
    5,732

    Recursive Method to count vowel

    public static void main(String[] args) {
    Scanner input = new Scanner(System.in);
    System.out.print("Enter a string: ");
    String word = input.nextLine();
    int i = 0,...
Results 1 to 2 of 2