James Goodfellow, the Scotsman who developed and patented the four-digit ATM personal identification number 50 years ago, has been honored with induction into the Scottish Engineering Hall of Fame. Scotland’s Institution of Engineers and Shipbuilders created the hall o
Source: www.atmmarketplace.com
Not sure exactly how you invent a code but he got it patented.