mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 09:23:52 -05: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
|