Results 1 to 2 of 2
- 10-10-2011, 07:57 PM #1
Member
- Join Date
- Oct 2011
- Posts
- 1
- Rep Power
- 0
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
- 10-10-2011, 08:30 PM #2
Senior Member
- Join Date
- Nov 2010
- Posts
- 210
- Rep Power
- 3
Re: Need some advice with my sch work. Bowling Scoring Program.
This is the sort of thing you should figure out before attempting to write any code at all. Try the Wikipedia article.sorry i never play bowling before so i have no idea how the system works
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
-
Advice On First Program (binary to decimal converter)
By HandMeTheBacon in forum New To JavaReplies: 0Last Post: 09-13-2011, 03:35 AM -
Just some advice on my first program in java.
By allen1952 in forum New To JavaReplies: 4Last Post: 12-22-2010, 02:32 PM -
How to make a program like this? please give me advice
By 3c4hy0 in forum Advanced JavaReplies: 1Last Post: 08-13-2010, 08:13 AM -
get hit scoring?
By Allasso in forum LuceneReplies: 9Last Post: 06-04-2010, 04:00 AM -
Help with my Bowling Program
By Unknown in forum New To JavaReplies: 4Last Post: 12-17-2008, 05:20 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks