This is program to count number of vowels and constant in given string
compilation : $ editor vowels_cons.l $ lex vowels_cons.l $ cc lex.yy.c -ll $ ./a.out Enter the string: this is lex program //press ctrl+D to show the output vowels = 5 constants = 11