Permalink
Browse files

Fix capitalization bug with "logical arguments..." exercise

The choices are sentence-capitalized, but the solution is not.

fix #22621; fix #22622; fix #22623
  • Loading branch information...
1 parent e209bae commit 3980c112d3470fd02858b636aeebf3bedd930b1d @divad12 divad12 committed May 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 exercises/logical_arguments_deductive_reasoning.html
@@ -38,7 +38,7 @@
<var id="TYPE">randRange(0, 3)</var>
<var id="IMPLICATION">QUESTIONS[Q_TYPE][2]</var>
<var id="CONCLUSION">[IMPLICATION[1], IMPLICATION[0], IMPLICATION[3], IMPLICATION[2]]</var>
- <var id="SOLUTION">(TYPE === 1 || TYPE === 2) ? "No logical conclusion possible" : CONCLUSION[TYPE]</var>
+ <var id="SOLUTION">(TYPE === 1 || TYPE === 2) ? "No logical conclusion possible" : capitalize(CONCLUSION[TYPE])</var>
</div>
<p class="problem">Use the given information to make a logical conclusion, if possible. If a logical conclusion is not possible, choose "no logical conclusion possible."</p>
<p class="question">If <span id="if-clause"><var>IF_CLAUSE</var></span>, then <span id="then-clause"><var>THEN_CLAUSE</var></span>. <span id="second-sent"><var>capitalize(IMPLICATION[ TYPE ])</var></span>. </p>

0 comments on commit 3980c11

Please sign in to comment.