if you wrote some code post here, so we can build on that.. try to use arraylists for add, delete and sort it supports those operations.. here ArrayList (Java Platform SE 7 )
Type: Posts; User: haski
if you wrote some code post here, so we can build on that.. try to use arraylists for add, delete and sort it supports those operations.. here ArrayList (Java Platform SE 7 )
use boolean return type instead void it's better.. now do this: one inside for loop start i by 1 i = 1, remove lenght - 1..
in if statement remove "|| scores[i] == scores [i+1]" you don't need...
U get true and false because it compares 3 with 1 and 2 with 3. Try remove the code after or and see what happens.
what you mean by pull? one error could be the parameters you have in positiveTriangle and negativeTriange methods, in main when you call them you have to pass arguments.. you can create Striing and...
check the java API for ArrayList there is a method add which adds an object, it should help
post your code, and ask a question..