C/C++: Retourner la valeur absolue d’une varaible de type ‘int’ avec ‘abs()’ 9 May 2012 Author: c sniper Download #include #include int main () { int x, y; x = abs( 5 ); y = abs( -5 ); printf (" x = %dn", x); printf (" y = %dn", y); return 0; } Categories: Mathématique Tags: int, math, printf