need someone to help
Write a program to parse and evaluate programs consisting of assignment and print statements with fully parenthesized arithmetic expressions (see Program 4.3.5). For example, given the input
A = 5
B = 10
C = A + B
D = C * C
your program should print the value 225. Assume that all variables and values are of type double. Use a symbol table to keep track of variable names.
Write test programs to demonstrate that your Interpreter works correctly.
In particular, write a program to evaluate polynomials of the form:
ax5 + bx4 + cx3 + dx2 + ex + f
Discuss the limitations of this language. What kinds of programs can you write in Java that you cannot write here?
I HAVE NO IDEA WHAT TO DO. I NEED TO DO THIS RIGHT TO PASS THIS CLASS.
Re: need someone to help
Please don't simply dump your homework here. See the link in my signature on asking questions the smart way.
Recommended reading: http://www.javaprogrammingforums.com...e-posting.html