The functions \(f\) and \(g\) are defined for all the positive integers \(n\) by the following rule: \(f(n)\) is the number of perfect squares less than \(n\) and \(g(n)\) is the number of primes numbers less than \(n.\) If \(f(x) + g(x) = 16,\) then \(x\) is in the range:
A. \(30 < x < 36\)
B. \(30 < x < 37\)
C. \(31 < x < 37\)
D. \(31 < x < 38\)
E. \(32 < x < 38\)
Answer: C
Source: GMAT Club Tests