I haven't read the book, but whether the F-word is offensive or "low class" depends on the context. Personally, I don't think that The President (or a politician who is planning to run for the office...