Write a function that returns the absolute value of an integer @n@.
| C++ | |
| C | |
| Java | |
| Haskell | |
| Python | |
|
You only need to submit the required procedure; your main program will be ignored.
Author: Unknown
Translator: Salvador Roura
Generation: 2026-01-25T12:09:59.584Z
© Jutge.org, 2006–2026.
https://jutge.org