This is my lex code to convert possibly nested for and do while loops into while loops, the. (Other control flows like if or switch are not supported.) The input program must be in a file called input.c and the output will be saved in a file called out.c. it is working for all cases I tried including nested loops, brace less for loops.Please Please review the code and give suggestions regarding improving it.