next up previous contents
Next: Solution Up: Introduction to Fortran 90 Previous: Solution

 

Operator Precedence

Rewrite the following expression so that is contains the equivalent symbolic relational operators and then add parenthesis to indicate the order of evaluation,

    .NOT.A.AND.B.EQV.C.OR.D.AND.E.OR.x.GT.y.AND.y.eq.z

Add parenthesis to this expression to indicate the order of evaluation,

    -a*b-c/d**e/f+g**h+1-j/k

Go back to Notes gif




next up previous contents
Next: Solution Up: Introduction to Fortran 90 Previous: Solution

©University of Liverpool, 1997
Thu May 29 10:11:26 BST 1997
Not for commercial use.