Driver code
public static void main ( String [ ] args ) { String word = " allahabad " ; long ans = no_vowels_together ( word ) ; System . out . println ( ans ) ; word = " geeksforgeeks " ; ans = no_vowels_together ( word ) ; System . out . println ( ans ) ; word = " abcd " ; ans = no_vowels_together ( word ) ; System . out . println ( ans ) ; } }