1. Consider the following logical IF statement in FORTRAN 77
IF (SALT. GE. PEPPER) GOTO 11 GOTO 13
The above statement using arithmetic IF statement would be
Ask Your Doubts Here
Comments
By: guest on 02 Jun 2017 01.02 am
The given statement is logical IF statement. If SALT greater than or equal to PEPPER control goes to statement 11 otherwise control goes to statement 13 Same is true of arithmetic IF statement (c). If (SALT - PEPPER) is negative, control goes to statement 13 and otherwise control goes to statement 11.