Deepak has some hens and some goats. If the total number of animal heads is 90 and the total number of animal feet is 248, what is the total number of goats Deepak has?

A) 32

B) 36

C) 34

D) Cannot be determined

Correct answer:
C) 34

Description for Correct answer:

Let hens = H, goats = G

According to the question,

H + G = 90 ...(i)

2H + 4G = 248 ...(ii)

On multiplying Eq. i) by 2 and subtracting from Eq. (ii), we get
by solving 1 and 2 we get

 -2G = -68
G = 34



Please provide the error details in above question