Please how can I use WATFOR 77 software to code and run the following Fortran program:

INTEGER SUM
SUM = 0
DO 10 D = 1,7
IF (K.GT.3) THEN
SUM = SUM + K
ELSE
SUM = SUM * K
ENDIF
PRINT* , SUM
10 CONTINUE
END

Oh My!!!!

Tell me where they are still using Fortran?!?!

The people that wrote WATFOR were in my classes at the University of Waterloo in Ontario back in the 60's.

(WATFOR stands for Waterloo Fortran.)

Fortran was developed in the 1950s by IBM. It's still in use, but has definitely been updated since then. They're in the works to release a new and updated version of Fortran in (they think) 2008.

I have never used the language before nor even taken a class in it. I mostly did Visual Basic and Perl. But it is out there.

To use WATFOR 77 software to code and run the given Fortran program, you can follow these steps:

1. Install WATFOR 77: Obtain the WATFOR 77 software and install it on your computer. You can search for the installation files online and follow the installation instructions provided.

2. Open a text editor: Launch a plain text editor on your computer where you can write your Fortran code. You can use any text editor of your choice, such as Notepad, Sublime Text, or Visual Studio Code.

3. Write the Fortran program: Copy the provided Fortran program into the text editor and save it with a .f or .for file extension. For example, you can save it as "program.f".

4. Open the WATFOR 77 compiler: Launch the WATFOR 77 compiler. This might involve opening a command prompt or using a specific IDE or software interface provided with the WATFOR 77 installation.

5. Compile the Fortran program: In the WATFOR 77 compiler, navigate to the directory where your Fortran program file is saved. Use the appropriate command or option to compile the program. For example, you might use a command like `watfor program.f` to compile the program.

6. Run the compiled program: After the compilation process is complete, you can run the compiled program using the appropriate command or option in the WATFOR 77 compiler. For example, you might use a command like `a.out` or `program` to execute the compiled program.

7. View the output: The output of the program will be displayed in the terminal or console window of the WATFOR 77 compiler. In this case, the program will print the intermediate summation results.

If you encounter any errors or issues during the compilation or execution process, refer to the WATFOR 77 documentation or seek assistance from resources specific to WATFOR 77 or Fortran programming.