#include #include void main(void) { const int SEED = 2; srand(SEED); int v1 = rand() % 101; int v2 = rand() % 101; int v3 = rand() % 101; int max; if ((v1 >= v2) && (v1 >= v3)) { max = v1; } else { if (v2 >= v3) { max = v2; } else { max = v3; } } printf("La valeur max de %d, %d et %d est %d\n", v1, v2, v3, max); }