Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

table sort

Status
Not open for further replies.

jimlee

Programmer
Jan 27, 2001
213
GB
hi all,

please help my mental block! (this is a sample q paper for exam).....

ff-table 10 elements consisting of:-

ff-phone-number 14 alphanumeric characters
ff-cost-of-calls 6 numeric digits with 2 dec places

need to sort table into ascending ff-cost-of-calls

note: only 1 table must be used
internal sort by program must not be used

jimlee
 
Use a bubble sort. Search on "Bubble Sort" for how it is done.

Stephen J Spiro
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top