64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
6 lines
59 B
C
6 lines
59 B
C
int abs(int x) {
|
|
if (x < 0)
|
|
return -x;
|
|
return x;
|
|
}
|