Does altitude influence the flight range of an engine driven aircraft?
Your book may not be wrong, but it is misleading, because the answers depend on the the aircraft type, and the type of engine. (piston, turboprop, turbojet, turbofan)

In general: 

All aircraft have the best range at higher altitudes.

Piston powered aircraft have the best endurance at low atitude.

Jet powered aircraft have the best endurance at their optimum altitude. (not too low and not too high)