I didn't have enough money, so I didn't buy that laptop.
A.If I had had money enough , I would have bought that laptop
B.If I had had enough money, I would have bought that laptop
C.If I had enough money, I would buy that laptop
D.If I had had enough money, I wouldn't have bought that laptop