Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Go to this link https://www.regtransfers.co.uk/car-registration-plates

  2. On Scroll down the right of the page look for the image titled “Infix format number plate 2001 -”page to an image labeled “Current 2001 - present”

  3. Identify the field “Age Identifier”, this is the number you must generate

  4. Scroll down the page till you locate three tabs “Suffix”, “Prefix”, and “Infix (current style)”

  5. Select “Infix”

  6. On the right of the page you will see a table showing the “Age Identifiers”Go to this link for the numbering sequence https://www.theaa.com/car-buying/number-plates

  7. Using TDD write a method within a class that when an “Age Identifier” is passed to it, it will return the next “Age Identifier” e.g. “05” which is March 2005, must return “55” which is September 2005, “77” which is September 2027, must return “28” which March 2028 etc.

...