Implement fully the latest TD1's exercice
[TD_IML.git] / TD1 / part_three / balle / balle.c
index 7881ec5a4b48b65f56d52031f5d7917a7c771c83..15b351b373a47e26202abb2a4d0b8eed3ce80941 100644 (file)
 int main() {
 
     srand(time(NULL));
-    int randValue = rand() % 5 + 1;
+    int randvalue = rand() % 5 + 1;
 
     printf("[%d] Je suis la balle et je vole\n", getpid());
 
-    sleep(randValue);
+    sleep(randvalue);
 
-    return EXIT_SUCCESS;
+    return randvalue;
 }