I wrote this program to generate 256 random numbers. The numbers change each time the code is excuted. But I can't seem to limit the numbers from 1 to -1. Antother thing I can't seem to do is that I want the numbers to go up to 2 decimal placec. i.e. 1.11. I will be highly obliged if someone can point me inthe right direction.
/* Set evil seed (initial seed) */
srand( (unsigned)time( NULL ) );
for (i = 0; i < 256; i++)