C/C++: Générer des nombre aléatoire avec la fonction ‘rand()’ 5 October 2012 Author: c sniper Download #include #include int main(void) { int i; for( i = 0; i < 10; i++) { int a=rand(); int b=rand(); int somme= a*b; printf("A:%d + B:%d = %10dn", a, b, somme); } return 0; } Categories: Console Tags: fonction, int, nombre