Informations

Contact Lien de contact
Date limite Pas de date limite
Limite de soumission Pas de limite

Se connecter

[S1] Absolute value

The absolute value of a number is defined as |n| = n if n >= 0, |n| = -n else.


Valeur absolue

Write the body of the function absval returning the absolute value of i.

int absval(int i) {