Control Statement

Fortran Expressions

Fortran Expressions We have already discussed about constants, integers, variables now we will study about the Fortran Expressions . What is Expression? Expressions are the statements formed by combination of operators and operands. Example: 1) a – b // it is an arithmetic expression in which a& b are operands and ‘-‘ is subtraction  operator. …

Fortran Expressions Read More »

If…Else statement

Types of If statement If statement in Fortran is used for decesion making. Depending upon conditions we can use any of the following IF statements in our FORTRAN program : 1) Arithmetic IF statement If in a program the condition is given as positive, negative or zero, then the arithmetic IF statement is used to …

If…Else statement Read More »

Scroll to Top