2024-12-02 09:07:34 -06:00

10 lines
96 B
C

#pragma once
static inline int abs(int n)
{
if (n < 0)
return -n;
else
return n;
}