View Single Post
  #3 (permalink)  
Old 01-03-2008, 12:07 AM
tim's Avatar
tim tim is offline
Senior Member
 
Join Date: Dec 2007
Location: South Africa
Posts: 334
tim is on a distinguished road
Hello

I think your instructor wants you to us arrays instead of more advanced data structures, like the one gibsonrocker800 mentioned, since your pseudo code said:
Code:
IF Enrolment number is greater than enrolment number in last entry THEN Set insertion point of new entry to entry after current last entry ELSE Locate insertion point of new contact detail Move subsequent existing contact detail entries one position END-IF Insert new contact detail at insertion point over-writing any previous contact detail entry END
I would use integer variables used for counting purposes and a few for loops.
__________________
If your ship has not come in yet then build a lighthouse.
Reply With Quote