this code is working but im having troubles in some part
the program will ask for scores in double type and will be stored in an array of double type, that works, but when i get to displaying the highest entered score
it only returns an int type value,
where could be the problem?
it only returns an int type value,
where could be the problem?
On line 69 (int temp). Better write swap(score[i][j], score[i+1][j+1]); instead of line 69 - 71
Lines 62 - 76 don't sort correctly. It's very likely that you won't find the highest/lowest. To find highest/lowest only you don't need to sort at all.