User talk:Maankarate

Given a method with string as input. Write a method to check if given string contains exactly five vowels and the vowels should be alphabetical order. Assume there is no repetition of any vowel in the given string.

If the above condition is satisfied, store 1 to the output1 integer. If the above condition is not satisfied, store 2 to the output1 integer.

Business rule:

If there is a repetition of vowels in the given string, store -1 to the output1 variable.

Example:

Input: acebisouzz

Output1: 1

Maankarate, you are invited on a Wikipedia Adventure!
 The Adventure