i am required to write a C++ program code that generates random numbers for a dice and it should have 1000 observations

please assist a fellow geek

Recommended Answers

All 3 Replies

Uuuuhhhhmmmm, then why ask this in the Java Forum.

I've already asked the mods to move this thread to the proper forum.

You should at least try to write some code if your own... If you already have, post it.

If you're really clueless on how to even start on this, you need a method to generate a random number(stdlib.h includes one) and a loop.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.