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) …
Read More »Control Statement
What is control statement in programming language?
Control Statement If a program is executed in normal flow then there is no problem but when some conditions are given then control commands helps us to make program execution easy. There are fourteen types …
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 …
Read More »GO TO And DO statements
GO TO Statement 1) Unconditional GO TO statement Unconditional GO TO statement is used to jump from one statement number to the other in that program. The general form of an unconditional GO TO statement …
Read More »CONTINUE & STOP statements
CONTINUE Statement The general form of a CONTINUE statement is: CONTINUE Execution of a CONTINUE statement has no effect. STOP Statement Stop Statement is used as a command to stop the execution of a program. …
Read More »PAUSE And END statements
PAUSE Statement The general form of a PAUSE statement is: PAUSE [n] where n is a string which should not be more than five digits or it may be character constant. END Statement Every program must have …
Read More »