Error running Fortran codes

I am new to Fortran, and finding it challenging to run Fortran codes. IDE is VSCode and already installed Modren Fortran as an extension. what else do I need to do to run the codes.

PLease find the error message below

[Running] cd "c:\Fortran\fortrantest" && gfortran tempCodeRunnerFile.f90 -o tempCodeRunnerFile && "c:\Fortran\fortrantest"tempCodeRunnerFile
‘gfortran’ is not recognized as an internal or external command,
operable program or batch file.
[Done] exited with code=1 in 0.078 seconds

You need to have a Fortran compiler installed on your system.

You can find a list of Fortran compilers at the following link: Compilers — Fortran Programming Language

1 Like