Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Tweak hints

  • Loading branch information...
commit e85f8b904c0b12eba16fdecfdc9bfbbff70bff1a 1 parent 04c8cdc
@petercollingridge petercollingridge authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 exercises/integer_sums.html
View
6 exercises/integer_sums.html
@@ -46,10 +46,10 @@
</div>
<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>
<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>
</div>
<p><code><var>SEQ_LENGTH</var>x + <var>C</var>= <var>SUM</var></code></p>
@@ -63,8 +63,8 @@
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>.
</p>
- <p>Thus, the <var>ordinal(TARGET_NUMBER)</var> number in the sequence is <code><var>ANSWER</var></code>.</p>
</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>
</body>

0 comments on commit e85f8b9

Please sign in to comment.
Something went wrong with that request. Please try again.