Fortran Tutorial

What is Fortran?

Fortran is a high level programming language which means Formula Translation and is widely used for numerical operations. Fortran language is the first high level programming language among all the languages. Persons with little mathematical background can learn this language easily. It is such language which is continuously developed in each decade. History of Fortran The inventor of this high level …

What is Fortran? Read More »

What are the Usage and Advantage of FORTRAN Programming Language?

Usage of FORTRAN 1. This is widely used at space research centers, DRDO, NASA, ISRO and many of University like Cambridge, Department of Engineering etc. 2. FORTRAN Used commercially for technical and scientific computations. 3. FORTRAN Principal language on the IBM SP Supercomputer and all Cray machines. Advantage of FORTRAN Following are the important advantages of Fortran Language: 1. Fortran is a simple …

What are the Usage and Advantage of FORTRAN Programming Language? Read More »

Differences between Fortran 77 and Fortran 90 & 95

Differences between Fortran 77 and Fortran 90 and Fortron 95 1) Fortran 90 has more intrinsic functions than Fortran 77, and it adds intrinsic subroutines. The CF90 compiler accepts the following intrinsic functions, which are included in the Fortran 90 standard: ADJUSTL ADJUSTR ALL ALLOCATED ANY ASSOCIATED BIT_SIZE COUNT CSHIFT DIGITS DOT_PRODUCT EOSHIFT EPSILON EXPONENT FRACTION …

Differences between Fortran 77 and Fortran 90 & 95 Read More »

Basics of Fortran

Basics are called the heart of any language. Without basics of any language you cannot imagine about any computer language. Basics of Fortran means how, what, where and which sentence, letters, digits and words can understand the Fortran Compiler. Characters set The Fortran character set consists of twenty-six letters, ten digits and thirteen special characters. …

Basics of Fortran Read More »

Data Types In Fortran

Data Data are constants provided to a program for use in computation or processing or execution. Type Means the information determines the way in which it is represented and the operations which may be performed on it. Declaration of Fortran variables As we know computers have no mind. It is also called servant, means what …

Data Types In Fortran Read More »

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 »

Arithmetic & Integer Expressions in Fortran

Arithmetic Expressions To know about the Arithmetic Expressions first of all we must should know about Arithmetic Operators which is given below: Operation Fortran operator + Add – Subtract * Multiply / Divide ** Exponentiation Integer expressions We know about integers that it have no decimal point. These are expressed as the following rules like: …

Arithmetic & Integer Expressions in Fortran Read More »

Relational Logical Expressions in fortran

Relational Logical Expressions are expressed with the help of Relational operators. Relational operators These are the relational operators: Mathematical symbol Meaning Fortran equivalent > greater than .GT. >= greater than or equal to .GE. < less than .LT. <= less than or equal to .LE. = equal to .EQ. <> not equal to .NE. Example: …

Relational Logical Expressions in fortran 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