1
Reply

Need help with this program

India Programmer

India Programmer

Jul 24 2009 1:23 PM
1.9k
Hi all, Pls help me with this program. Could somebody help me to implement dice program in C sharp Console application. The dice size will be anything its not fixed like 6 or 8, its size is n. There will be one dice class and in that one roll method. Suppose i am rolling 400 times of the dice then it should display how many each number has appeared. Suppose i have passed the constructor 6. So here how many times 1, 2, 3, 4, 5, 6 has occured in 400 rolling cycle. And the total should be maximum no of dice size. Here maximum no of dice size is 6. Input should be what is the no of dice and and how many times you are rolling it. Only this two input. And output display accordingly like 1 {0}, times, 2 {0} times etc. Pls somebody send me the code for this program. Its too urgent. Thanks, India

Answers (1)