Home > Back-end >  Why use bubble sort, if statements==can't run normally, also please great god solve ~
Why use bubble sort, if statements==can't run normally, also please great god solve ~

Time:10-13

Without using bubble sort program run normally, can normal delete student information if there are, however, after a bubble sort, judging if the==can't perform, try many times, found that only the highest grade student number, if the==can be judged!
Figure according to the results of ranking involves bubble, using this feature, delete student information will not be able to run normally, behind only judge the highest score,
Figure 1, 2, for not using a bubble, delete student information properly
Figure 3 for bubbling code
Figure 4. For if judging the failure code
Figure 5, figure 6 for the use of bubble sort, unable to delete student information
  • Related