6 lines
66 B
C
6 lines
66 B
C
#include <math.h>
|
|
|
|
int abs(int n) {
|
|
return n >= 0 ? n : -n;
|
|
}
|
#include <math.h>
|
|
|
|
int abs(int n) {
|
|
return n >= 0 ? n : -n;
|
|
}
|