8 rivejä
71 B
C
8 rivejä
71 B
C
|
|
int abs(int a) {
|
|
if (a<0) {
|
|
return -a;
|
|
} else {
|
|
return a;
|
|
}
|
|
}
|