%{
	#include<stdio.h>
%}

%%
if |
else |
printf |
printf{printf("\n%s is a keyword" , yytext);}
[0-9]+ {printf("\n%s is a number", yytext);}
[a-zA-Z]+{printf("\n%s is a word", yytext);}
.|\n {ECHO}
%%

int main()
{
	prinf("\n Enter the string: ");
	yylex();
}

int yywrap()
{
	return 1;
}
