已采纳回答 / 汤小洋
public static void main(String[] args) {
int[] scores = { 89, -23, 64, 91, 119, 52, 73 };
int[] newScores = new int[3];
Arrays.sort(scores);
int num = 0;
int j=0;
for (int i = scores.length - 1; i >= 0; i--) {
if (scores[i] < 0 || scores[i] ...
2014-06-06
最赞回答 / 读者123
import java.util.Arrays;public class HelloWorld { //完成 main 方法 public static void main(String[] args) { HelloWorld hello = new HelloWorld(); int[] score = {89,-23,64,91,119,52,73}; hello.Topthree(score); } ...
2014-06-05