<problem>
<script type="loncapa/perl">#Enter script here
$choice = &random(1,2,1);
$chemString = &choose($choice,"Sodium Chloride","Potassium Chloride");
$chemFormula = &choose($choice,"NaCl","KCl");</script>
<startouttext />Enter question text here. <br />
What is the chemical formula for $chemString?<endouttext />
<stringresponse answer="$chemFormula" type="cs">
<textline>
</textline>
<hintgroup><startouttext />Add hint text here.<endouttext />
</hintgroup>
</stringresponse>
</problem>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>