in Programming in C retagged by
999 views
0 votes
0 votes
Suppose x and y are floating-point variables that have been assigned the values x=8.8 and y=3.5. what will be the value of the following expression?
2*x/3*y
in Programming in C retagged by
by
999 views

1 comment

20.53333..
0
0

2 Answers

2 votes
2 votes

 first convert the exp in postfix, then use operand stack 

edited by
0 votes
0 votes

*=/ (left to right)

1 comment

shoudln't the postfix expression be 2x*3y*/ ?
0
0