quiz10
Modified from D.E. Haines page 179