next up previous contents
Next: Declaration Format Up: Reformatting Code Previous: Reformatting Code

Solution

Better:

      PROGRAM MAIN
       INTEGER :: Degrees_Fahrenheit ,Degrees_Centigrade
       READ*, Degrees_Fahrenheit
       Degrees_Centigrade = 5*(Degrees_Fahrenheit-32)/9
       PRINT*, Degrees_Centigrade
      END PROGRAM MAIN


next up previous contents
Next: Declaration Format Up: Reformatting Code Previous: Reformatting Code

©University of Liverpool, 1997
Thu May 29 10:11:26 BST 1997
Not for commercial use.