Question 2 A. Design a state diagram to recognize the floating- point literals of your favorite programming language B. Write and test the code to implement the state diagram of Problem 2 C. Convert the lexical analyzer (which is written in C) given in Section 4.2 to Java .