I am brand spanking new to programming full stop, let alone specifically Fortran so apologies in advance if my question is a bit on the iffy side!
I have been tasked with writing a program that will ...

Dear All, I am writing a code that writes the out put in multiple files named as 1.dat, 2.dat, ..... Here is my code but it gives some unusual output. May you tell me what is wrong in my code please? ...

I've written a rudimentary algorithm in Fortran 95 to calculate the gradient of a function (an example of which is prescribed in the code) using central differences augmented with a procedure known as ...

Fortran is complete new for me , can anybody help me to solve the follwing problem ?I want to find out all the integer kind number and the largest and the smallest value for each kind number om my pc ...

I would like to have a derived type, a, which is empty. From this derived type I would like to define further types which extend a. Suppose all of these type extensions contain some generic procedure ...

I have a little program written in Fortran which needs to read in a file.
The filename is provided by the user during runtime.
Now I want to emulate the bash behavior by autocompleting the filename, ...

I need to write a Fortran program which can read and print a .dat file.
(A file homework_6.dat contains book records: Name (up to 25 characters), publish year (4 digit integer), price (6 digit real), ...

In Fortran, a clear difference exists between function and subroutine: functions return one value, subroutines return no value. This introduce a cascade of differences between the two. One example is ...