Program to count the number of vowels and consonants in a given string.
Program to count the number of characters, words, spaces and lines in a given input file.
Program to count number ofa. Positive and negative integersb. Positive and negative fractions
Program to count the numbers of comment lines in a given C program. Also eliminate them and copy thatprogram into separate file.
Program to count the number of ‘scanf’ and ‘printf’ statements in a C program. Replace them with ‘readf’ and ‘writef’ statements respectively.
Program to recognize a valid arithmetic expression and identify the identifiers and operators present. Print them separately.
Program to recognize and count the number of identifiers in a given input file.
Program to test the validity of a simple expression involving operators +, -, * and /.
Program to recognize nested IF control statements and display the number of levels of nesting.
Program to recognize a valid arithmetic expression that uses operators +, -, * and /.
Program to recognize a valid variable, which starts with a letter, followed by any number of letters or digits.
Program to evaluate an arithmetic expression involving operators +, -, * and /.
Program to recognize strings ‘aaab’, ‘abbb’, ‘ab’ and ‘a’ using the grammar: (an bn , n>=0)
Program to recognize the grammar (an b, n>=10).