f_and_c/example0/hello.f90
2024-05-13 16:26:36 +08:00

14 lines
193 B
Fortran

program main
use math_module
implicit none
real :: a, b, result
a = 5.0
b = 10.0
call add_number(a, b, result)
print *, "the sum of the number is : ", result
end program main