mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 10:26:08 -06:00
4 lines
91 B
Swift
4 lines
91 B
Swift
// Type your code here, or load an example.
|
|
func square(n: Int) -> Int {
|
|
return n * n
|
|
} |