Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 25 trang
Thông tin tài liệu
... input, one used for comparison to count the occurrences and another on to store the count of occurrences Display the content of the third array #include // for pow(x,y) #include ... mycompare[] values // if similar… if(myint[i] == mycompare[j]) // if similar, store the count at similar index of mycompare[] mycount[k] = mycount[k ]+1 ; } // increase counter for next input i ++ ; ... j ++ ) { if( minScore > num[j]) { minScore = num[j]; } if( maxScore < num[j]) { maxScore = num[j]; } } // discard the lowest and highest scores totalScore = sumScore - (maxScore + minScore); // find