Skip to content
This repository
Browse code

Tweak hints

  • Loading branch information...
commit e85f8b904c0b12eba16fdecfdc9bfbbff70bff1a 1 parent 04c8cdc
Peter Collingridge petercollingridge authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 3 exercises/integer_sums.html
6 exercises/integer_sums.html
@@ -46,10 +46,10 @@
46 46 </div>
47 47
48 48 <div class="hints">
49   - <p>Let <code>x</code> be the first number in the sequence.</p>
  49 + <p>Call the first number in the sequence <code>x</code>.</p>
50 50 <p>The next <var>SEQ_TYPE</var> in the sequence is <code>x + <var>DIFFERENCE</var></code></p>
51 51 <div>
52   - <p>The sum of consecutive <var>SEQ_TYPE</var>s is:<p>
  52 + <p>The sum of the <var>SEQ_LENGTH</var> consecutive <var>SEQ_TYPE</var>s is:<p>
53 53 <p><code><var>SEQUENCE</var> = <var>SUM</var></code></p>
54 54 </div>
55 55 <p><code><var>SEQ_LENGTH</var>x + <var>C</var>= <var>SUM</var></code></p>
@@ -63,8 +63,8 @@
63 63 Since <code>x</code> is the first number, <code>x + <var>(TARGET_NUMBER - 1) * DIFFERENCE</var></code>
64 64 is the <var>ordinal(TARGET_NUMBER)</var> <var>SEQ_TYPE</var>.
65 65 </p>
66   - <p>Thus, the <var>ordinal(TARGET_NUMBER)</var> number in the sequence is <code><var>ANSWER</var></code>.</p>
67 66 </div>
  67 + <div data-if="FIRST_NUM !== ANSWER">Thus, the <var>ordinal(TARGET_NUMBER)</var> number in the sequence is <code><var>ANSWER</var></code>.</div>
68 68 </div>
69 69 </div>
70 70 </body>

0 comments on commit e85f8b9

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