Quizzes & Puzzles5 mins ago
A Binary Tree Expression (A+B+C*d)-(A/b-Cd+E)
1 Answers
Kindly who can help me?
Represent the following expression as a binary tree and write the prefix and postfix form of the expression (A+B+C*D)-(A/B-CD+E)
Represent the following expression as a binary tree and write the prefix and postfix form of the expression (A+B+C*D)-(A/B-CD+E)
Answers
Best Answer
No best answer has yet been selected by godhardonsomu. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ.Take a look at the example under 'Algebraic expressions' here:
https:/ /en.wik ipedia. org/wik i/Binar y_expre ssion_t ree#Alg ebraic_ express ions
Use that as a model to create a tree for the first bracketed term in your expression. Repeat for the second bracketed term. Then join the tops of your two trees together with a ' - ' operator.
https:/
Use that as a model to create a tree for the first bracketed term in your expression. Repeat for the second bracketed term. Then join the tops of your two trees together with a ' - ' operator.
Related Questions
Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.