Page MenuHomeDevCentral

Masterwork From Distant Lands

Authored By
dereckson
Aug 21 2015, 10:09
Size
302 B
Referenced Files
None
Subscribers
None

Masterwork From Distant Lands

#include <stdio.h>
#include <stdlib.h>
int aleatoire(int borne_1, int borne_2)
{
int nombre;
nombre = rand() % ((borne_2 - borne_1) + 1) + borne_1;
return nombre;
}
int main()
{
srand((unsigned int)time(NULL));
int i;
for (i = 0 ; i < 10 ; i++) {
printf("%d\n", aleatoire(1000, 1500));
}
}

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6549
Default Alt Text
Masterwork From Distant Lands (302 B)

Event Timeline