So for this I think the code is:
byte[] randBytes = new byte[100];
Random randNum = new Random();
for (int i = 0; i < 100; i++)
{
txtdisplay1.Text = ; //confused on how to get this to output this??????
}
After each button click the program displays the values of the two compared numbers???
as well as running counts of the number of correct and incorrect guesses.
After user makes guess, disable the button while user views results.
Require the user to click a "next" button then the user can make another guess using the next two array values
if user makes more than 100 guesses, the program should reset array subscript to 0 so the comparision can start over
but continue to keep running score
Well that is mainly the pusedo code in which I dont have much of a clue of how to do although some of it seems easy such as disable buttons and set to 0. I have looked at msdn though it uses console examples and i cant find much on the internet. However I found a site where this question is downloadable, but I want to learn and not cheat thats why I am asking yous for help.
First thing is how do I output using the textbox for these random numbers, I have tried a few things.
Many thanks for anyones help
This post has been edited by jemsel: 06 December 2010 - 02:23 PM

New Topic/Question
Reply




MultiQuote





|