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