为什么不打印成绩信息?
import java.util.Arrays;
public class name07{
public static void main(String[] args){
name07 hello=new name07();
int[] scores={89,-23,64,91,119,52,73};
System.out.println("前三名成绩是:");
hello.sa(scores);
}
public void sa(int[] scores){
Arrays.sort(scores);
int count=0;
for(int i=scores.length-1;i>=0;i--){
if(scores[i]>0||scores[i]<=100){
continue;
}
count++;
if(count>3){
break;
}
System.out.println(scores[i]);
}
}
}