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 …
Read More »Fortran Expression and I/O statement
Real & Complex Expressions
Real Expressions There are following rules to express the Real expressions: 1) A signed or unsigned real variable name or real constant is an expression. Example: -A, 3.8, 2.0 etc. 2) A real expression connected …
Read More »Mixed & Character Expressions
Mixed expressions Mixed expressions in Arithmetic Expression are formed by using different types of integer, real, double precision or complex quantities. Example: Consider an arithmetic expression in which integer and real quantities occurs let I=5 …
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. < …
Read More »Input Statement In Fortran
Input Statement It is necessary for solving a problem on a digital computer that the required data should be transformed from one of its input unit to its memory and this is done by input …
Read More »How to write a simple program in Fortran
As we know computer is a machine which have no mind. It does not understand our language. Computer have own language which converts our input data into its own language. For computer programming in Fortran …
Read More »Output statement In Fortran
The WRITE and PRINT statements are the data transfer output statement. The information from the memory unit is delivered to output unit and then the result or the value or the answer is display on …
Read More »