mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 07:38:03 -06:00
8 lines
161 B
Fortran
8 lines
161 B
Fortran
! Type your code here, or load an example.
|
|
real function square(x)
|
|
implicit none
|
|
real, intent(in) :: x
|
|
square = x * x
|
|
return
|
|
end function square
|