program swapmain implicit none real :: a, b ! Read in two values read(*,*) a, b call swap(a,b) write(*,*) a,b contains subroutine swap(x, y) real :: x, y, temp temp = x x = y y = temp end subroutine swap end program swapmain
HELLO, I HAVE A CODE FORTRAN , which calculate activity coefficients of binary solutions (Solid liquid Equilibria), i make some modification, the programm did not run ?!! i need some help