-- © 2001-2005 Peter Thiemann module Main where import Prelude hiding (head, div, span, map) import WASH.HTML.HTMLMonad import Random import WASH.CGI.CGI main = run mdrill question prompt def =
<%= factor %> x <%= n %> = <%= n * factor %>.
Your answer: <%= a %>.
<% if correct then text "CORRECT!" else text "WRONG." %>