What is the answer to this question

Answer:
10 banana and 14 apples.
Step-by-step explanation:
First of all he spends 7*12 = 84p on apples.
Now he has £4.16 left.
416 / 40 = 10 remainder 16, so he buys 10 bananas
Now he has 16p so he buys 2 more apples for 14p . This leaves him with 2p of change.
So he buys 10 bananas and 14 apples.