Answer:
589 Books
Why?
Well, as you can see, there are 318 fiction books in the library. You don't yet know the number of nonfiction books, so let's just focus on that right now.
Important Information To Remember
Number of fiction books- 318
Number of nonfiction books- 47 less than number of fiction books
Nonfiction
The problem states that the number of nonfiction books is 47 less than the number of fiction books. Well, you know that there are 318 fiction books. The number of nonfiction books if 47 less than the number of fiction books. Therefore, the equation to solve the number of nonfiction books is 318-47. That is equal to 271.
Nonfiction and Fiction
Well, now we know the number of fiction (318) and nonfiction (271). Now, read the last question. "How many fiction and non fiction books are there in the class library?" Well, here, you just simply add the number of fiction and nonfiction together. 318+271. This is equal to 589. Therefore, there are 589 fiction and nonfiction books in the class library.
I hope I helped! Let me know if you have any questions! :)