6 lines
61 B
C
6 lines
61 B
C
|
#include <stdlib.h>
|
||
|
|
||
|
int abs(int a)
|
||
|
{
|
||
|
return a>0 ? a : -a;
|
||
|
}
|