i m trying to make a dice!! displaying the numbers in LCD and the dice with the help of 7 lEDs in MIDE-51 with C programming codes. I can't create a random no. How to generate a random no. in C language.
i used rand() but it gave only one fixed no.
plz help