Y2K Millennium Compliance - University of Delaware


Year 2000 Examples

Fortran Program samp1slidew.f - 2-digit Year Processing Using a Sliding Window

We modify the program, samp1.f, to include sliding window logic, producing samp1slidew.f

Enter two sets of names and birthdates using 2-digit years

Examples:



The following example give the correct answers assuming
that 2-digit years >= ipviot designate (c-100) + 2-digit year
and 2-digit years < ipivot designate  c + 2-digint year
where

    c = [firsts two digits of (current year + delta)]x100

and 

   delta is the number of years in the future that the window
   is to extend (redo description).


        Sally Smith
        010159
        Fred Smith
        010160

        Tom Younger
	010140
	Tom Older
	010124 

   Name 1:   
   Age 1 :   

   Name 2:   
   Age 2 :   
Submit the age/birthdate data to program samp1expand.f