The Gateway to Computer Science Excellence
+1 vote
789 views

The reverse polish notation equivalent to the infix expression $((A + B) ^{*} C + D)/(E + F + G)$

  1. $A B + C ^{*} D + EF + G + /$ 
  2. $A B + C D ^{*} + E F + G + /$ 
  3. $A B + C ^{*} D + E F G + +/$ 
  4. $A B + C ^{*} D + E + F G + /$ 
in Others by Boss (30.8k points)
retagged by | 789 views

1 Answer

+3 votes

( ( A + B ) * C + D ) / ( E + F + G )

(  A  B + * C + D ) / ( E + F + G )

(  A  B +  C * + D ) / ( E + F + G )

 A  B +  C *  D +  /  ( E + F + G )

 A  B +  C *  D ) +  /  ( E  F + + G )

  A  B +  C *  D +  /   E  F +  G +

  A  B +  C *  D +    E  F +  G + /

Hence,Option(A)  A  B +  C *  D +    E  F +  G +  /  is the correct choice.

by Boss (41.3k points)
0
Yup right..
Answer:

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,737 questions
57,382 answers
198,530 comments
105,323 users