Created
February 2, 2022 12:41
-
-
Save v1kko/5c85a991b5384fc64894045f49c1db33 to your computer and use it in GitHub Desktop.
code_7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module hello_world_mod | |
contains | |
subroutine hello_world(name) | |
implicit none | |
write(*,*) "Hello World: ", name | |
end subroutine | |
end module |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program main | |
use hello_world_mod, only: hello_world | |
implicit none | |
call hello_world("You there") | |
end program |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment