Originally Posted by
cmatos15
So here's what I have so far, I know it's not correct but I think im on the right path, can someone let me know whats wrong...
Actually, it's
your job to tell us what's wrong, not let us try to figure out what the program is doing and what
we think is wrong...
Originally Posted by
ArkM
Please, start IDE, open your project, click on rand() call in the source then press sacramental key F1. Read about returned value range (RAND_MAX macros) then take a piece of paper and a pencil and perform a simple calculations: how to get a numbers from 1 to 6...
Maybe you need to explain what's wrong with his calculation. Seems to be fine to me.
The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes