If pencils cost $0.50 each and notebooks cost $3 each, which of the following represents the cost, in dollars, of p pencils and n notebooks?
(A)\(2pn\) (B)\(3.5pn\) (C)\(3.5(n + p)\) (D)\(3n + 0.50p\) (E)\(2(n + 0.50p)\)
D