Results 1 to 5 of 5

Thread: Lucky 7 count number program

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2004
    Location
    England
    Posts
    7

    Lucky 7 count number program

    I am making a program in Visual Basic 2005 Express

    I currently have 3 text boxes that all generate random numbers between 1 - 7
    I have 2 other boxes one is suppose to keep a count of the number of 7's that appear when the user presses the command button to "spin" the numbers... and the other to count the number of spins used during one game.

    I can't work out the coding for this couting process and count of how many spins have been used during one game

    If it is possible, could someone help me with this problem?
    I know its really simple but my visual basic knowledge is too low

    Big thank you in advanced


    * Im stuck on question 5 & 6



    5. The program must keep a count of the number of 7s(number of wins) and display the total number after each spin. Eg: if you have seven displayed for the first time your display count should be 1, if next spin produces another seven – the count will be 2 and so on.
    6. The program must display number of spins used.
    Last edited by kailing; Dec 11th, 2006 at 02:55 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width