mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-05-16 18:23:01 -04:00
7 lines
156 B
Fortran
7 lines
156 B
Fortran
! Type your code here, or load an example.
|
|
integer function square(x)
|
|
implicit none
|
|
integer, intent(in) :: x
|
|
square = x * x
|
|
end function square
|