Buying a second-hand car can either be a rewarding investment or a financial nightmare. The difference often comes down to…