Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Commit

Permalink
Tweak hints
Browse files Browse the repository at this point in the history
  • Loading branch information
petercollingridge committed Feb 20, 2013
1 parent 04c8cdc commit e85f8b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions exercises/integer_sums.html
Expand Up @@ -46,10 +46,10 @@
</div> </div>


<div class="hints"> <div class="hints">
<p>Let <code>x</code> be the first number in the sequence.</p> <p>Call the first number in the sequence <code>x</code>.</p>
<p>The next <var>SEQ_TYPE</var> in the sequence is <code>x + <var>DIFFERENCE</var></code></p> <p>The next <var>SEQ_TYPE</var> in the sequence is <code>x + <var>DIFFERENCE</var></code></p>
<div> <div>
<p>The sum of consecutive <var>SEQ_TYPE</var>s is:<p> <p>The sum of the <var>SEQ_LENGTH</var> consecutive <var>SEQ_TYPE</var>s is:<p>
<p><code><var>SEQUENCE</var> = <var>SUM</var></code></p> <p><code><var>SEQUENCE</var> = <var>SUM</var></code></p>
</div> </div>
<p><code><var>SEQ_LENGTH</var>x + <var>C</var>= <var>SUM</var></code></p> <p><code><var>SEQ_LENGTH</var>x + <var>C</var>= <var>SUM</var></code></p>
Expand All @@ -63,8 +63,8 @@
Since <code>x</code> is the first number, <code>x + <var>(TARGET_NUMBER - 1) * DIFFERENCE</var></code> Since <code>x</code> is the first number, <code>x + <var>(TARGET_NUMBER - 1) * DIFFERENCE</var></code>
is the <var>ordinal(TARGET_NUMBER)</var> <var>SEQ_TYPE</var>. is the <var>ordinal(TARGET_NUMBER)</var> <var>SEQ_TYPE</var>.
</p> </p>
<p>Thus, the <var>ordinal(TARGET_NUMBER)</var> number in the sequence is <code><var>ANSWER</var></code>.</p>
</div> </div>
<div data-if="FIRST_NUM !== ANSWER">Thus, the <var>ordinal(TARGET_NUMBER)</var> number in the sequence is <code><var>ANSWER</var></code>.</div>
</div> </div>
</div> </div>
</body> </body>
Expand Down

0 comments on commit e85f8b9

Please sign in to comment.