Marche
This commit is contained in:
parent
411ef6c9e4
commit
ca5a6f9ec2
|
@ -0,0 +1,15 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
|
||||
int x = 0;
|
||||
|
||||
while ( x <= 20 && x >= -20){
|
||||
|
||||
x += rand()%3 - 1 ;
|
||||
printf("%d \n",x);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue