Results 1 to 2 of 2
  1. #1
    peter85 is offline Member
    Join Date
    Oct 2011
    Posts
    1
    Rep Power
    0

    Default Need some advice with my sch work. Bowling Scoring Program.

    please i seek for any senior or pros advice. :)

    sorry i never play bowling before so i have no idea how the system works

    So basically just by using arrays.

    Example i have
    int[] firsttry = { 9,1,10,10,9,7,8,9,7,10,9 };
    int[] secondtry = { 1,8,0,0,1,2,2,1,1,0,9 };

    How to store the score(third array) by comparing for the first try and second try what is the formula??

    Display Outout will be:
    Java Code:
    Frame:		1	2	3	4	5	6	7	8	9	10
    First Try:	9	1	X	X	9	7	8	9	7	X	9
    Second Try:	/	8			/	2	/	/	1		9
    Score:		10	20	30	50	79	95	105	124	139	149	167

  2. #2
    Iron Lion is offline Senior Member
    Join Date
    Nov 2010
    Posts
    210
    Rep Power
    4

    Default Re: Need some advice with my sch work. Bowling Scoring Program.

    sorry i never play bowling before so i have no idea how the system works
    This is the sort of thing you should figure out before attempting to write any code at all. Try the Wikipedia article.

    Try to come up with a set of steps that you'd take if you were trying to work it out on paper, and then convert those steps to Java.

    Good luck, and let us know if you have any more specific problems.

Similar Threads

  1. Advice On First Program (binary to decimal converter)
    By HandMeTheBacon in forum New To Java
    Replies: 0
    Last Post: 09-13-2011, 03:35 AM
  2. Just some advice on my first program in java.
    By allen1952 in forum New To Java
    Replies: 4
    Last Post: 12-22-2010, 02:32 PM
  3. Replies: 1
    Last Post: 08-13-2010, 08:13 AM
  4. get hit scoring?
    By Allasso in forum Lucene
    Replies: 9
    Last Post: 06-04-2010, 04:00 AM
  5. Help with my Bowling Program
    By Unknown in forum New To Java
    Replies: 4
    Last Post: 12-17-2008, 05:20 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
  •