Jump to content



Photo
- - - - -

Bubblesort [Fx-5800P]

fx-5800P

  • Please log in to reply
No replies to this topic

#1 Tritonio

Tritonio

    Casio Addict

  • Members
  • PipPipPip
  • 77 posts
  • Gender:Male

  • Calculators:
    fx-5800P, fx-991ES+, fx-991EX, HP Prime, fx-9750GIII, fx-3650P II

Posted 12 November 2014 - 01:23 AM

Program to sort the stat lists by the value of the X column.

 

FreqOff

nN

FreqOn

For 1I To N-1

For I+1J To N
If List X[I]>List X[J]:Then
List X[I]
T
List X[J]
List X[I]
T
List X[J]
List Y[I]
T
List Y[J]
List Y[I]
T
List Y[J]
List Freq[I]
T
List Freq[J]
List Freq[I]
T
List Freq[J]
​IfEnd
​Next
Cls
Locate 1,1,Int(0.5+(I÷(N-1)×100))
Next
"DONE"


  • Viliami likes this





Also tagged with one or more of these keywords: fx-5800P

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users