quiz6
Modified from D.E. Haines page 208