This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

dice

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

Parents Reply Children
No data