Thread: need help

  1. #1
    Registered User
    Join Date
    Sep 2009
    Posts
    1

    need help

    i need to write a program scoring a bowling game with the use of 2d arrays and the no. of pins knocked down as a generated random number. So far this is what I came up with. My problem is in the function parts calling the array. I think I got all correct except for the function parts.

    Attachment 9257

  2. #2
    DESTINY BEN10's Avatar
    Join Date
    Jul 2008
    Location
    in front of my computer
    Posts
    804
    In your normal function you haven't initialized 'w' and using it as an index of an array.
    HOPE YOU UNDERSTAND.......

    By associating with wise people you will become wise yourself
    It's fine to celebrate success but it is more important to heed the lessons of failure
    We've got to put a lot of money into changing behavior


    PC specifications- 512MB RAM, Windows XP sp3, 2.79 GHz pentium D.
    IDE- Microsoft Visual Studio 2008 Express Edition

Popular pages Recent additions subscribe to a feed