A man has some hens and cows. If the number of heads be 48 and the number of feet equals 144, then the number of hens will be:
Choose the correct choice from the following options:
A) 22
B) 23
C) 24
D) 26
E) 28

Rationale: "let hens be x and cows be y now , feet : x * 2 + y * 4 = 144 heads : x * 1 + y * 1 = 48 implies , 2 x + 4 y = 144 and x + y = 48 solving these two equations , we get x = 24 and y = 24 therefore , hens are 26 . answer : c"
Answer: C