Click here to Skip to main content
15,881,089 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
HI!
I must do a project about "calculate several mathematical expressions by using trees in hash table"
enter user several mathematical expressions that program calculate it!
for example user:x=z+y*4
z=4*5
y=2
x=?
program save every expressions in a tree(tree expressions) than roots of trees save in hash table(for search)!:confused:
can you help me?
Posted

It's unlikely that anyone will write the entire program/assignment for you, but if you give it a try, you can post specific questions here and you'll find that most people will be quite happy to help you out.
 
Share this answer
 
Looks like you are in trouble not (yet) with the program but with the comprehension of the requirement.
If thtat's the case, you're probably missing some concepts that are "prerequisite" for that assignment.

I suggest you not to afford the task directly, but to investigate a bit the concepts behind. Don't go further until what are "expressions tree" and "hash tables" is clear to you.

Google may help you, but your teacher should do it better.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900