最新回答 / Where_
pulic class club{private int maxCount=20;private List<Registrant> registrant=new List<Registrant>();public AddSwimmer(Registrant pRegistrant){boolean isFull=IsFull();if (isFull){//提示满没}else{registrant.add(pRegistrant);}}private boolea...
2018-06-12
最赞回答 / 伢伢學语
int[] score = { 89, 90, 98, 56, 60, 91, 93, 85 }; int max = score[0];//默认数组score第一个脚标89为最大值 int min = score[0]; //默认数组score第一个脚标89为最小值 foreach (int i in score) {//循环数组的所有数字 if (i>max) {//i大于最大值max的时候 ...
2018-06-11