No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
7 Posted Topics
You know how to populate a two dimensional array with an iteration(for, while etc.)statement right? Do it the same way, except set the values equal to random numbers instead.
When I turn on my computer, the power light turns on, and I can hear it starting up like normal; but the monitor, keyboard, and mouse make no response. By this I mean, nothing is displayed on the monitor, the laser mouse doesn't turn on, and the lights on the …
I have an assignment where I'm supposed to place a knight on a chess board, and using a random number generator, make it move. It cannot visit a space more than once. I've tried this several ways, and started over from the beginning more than once. this is how I …
I'm working on a school assignment right now, ( populate an array of 50 elements with random integers ranging from 50-100, find mean, mode, standard deviation and the number of elements that fall within the standard deviation) I've written working code for everything except for the function that finds the …
>"run time check #3: the variable 'noofgamesplayed' is being used without being defined" somebody gave you the answer to that already. In general It's a good Idea to set things equal to zero when you initialize them. meaning int x=0; is better than int x; If you don't set it …
int high=10; int low=6; rand () % (high - low + 1) + low; hope that helps.
error "unreferenced local variable" Means that you initialized the variable without using it error "uninitialized local variable 'noOfguesses' used" means that you forgot to initialize it before using it. just write int noOfguessos=0; somewhere before you use it.
The End.
maxmaxwell