So I was studying about functions and when I came across with a code about finding the max and the min of two integers I saw this
int min(int x, int y) { return (x<y) ? x : y; } int max (int x, int y ) { return (x>y) ? x:y; }
Aucun commentaire:
Enregistrer un commentaire