Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 5

Problem 1

To check whether the input contains a verb


Problem 2
To print the types of numbers such as decimal
number, whole number
Problem 3
To count and print all characters other than
letters
Problem 4
To count and print the number of whitespaces
Problem 5
To count the number of words, lines and
characters in the input file.
int main(void)
{
yyin= fopen("myfile.txt","r");
yylex();
}

You might also like