I assume you want to find a way to spend exactly £100 on some combination of animals.
c/2 + 10p + 2s = 100
One solution is
9 pigs, 16 chickens, 1 sheep (90+8+2)
Lots of other solutions exist by substituting a quantity of chickens or sheep for different numbers of pigs.
You have £100 you have to buy 100 animals. 1 chicken costs 50p,1pig costs £10,1 sheep costs £2?
1 answer