SS Lab Programs PART A LEX and YACC Programs Execute the following programs using LEX: 6th sem 1) a. Program to count the number of characters, words, spaces and lines…