END PROGRAM statement
Standard: F77 F90 F95 F2003 F2008 F2018 Example program
<Syntax>
END [ PROGRAM [ program-name ] ]
The blank between END and PROGRAM is optional.
The program-name shall not appear on the END statement for an unnamed main program.
<Semantics>
The END PROGRAM statement marks the end of a main program program unit.
Executing an END PROGRAM statement terminates the program normally, the same as if a STOP statement had been executed.