Evaluating C Expressions
Evaluate the ff. expressions and determine whether they yield a value of True or False.1. Given: dei=0; y=4.0; z=2.0; x=3.0, evaluate the expression: !dei||(y+z>=x-z)?
Solution:
!dei || ( y + z >= x - z )
!0 || ( 4.0 + 2.0 >= 3.0 - 2.0)
!false || (6.0 >= 1.0)
true || true
TRUE
Labels: eRnz
0 Comments:
Post a Comment
<< Home