Skip to content
Snippets Groups Projects
Commit ed92abf6 authored by Goik Martin's avatar Goik Martin
Browse files

2 x 2 x 2 correction

parent 077de8c7
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ public class _2_DigitExpressions {
* <p>A single digit value <code>d</code> may be 0, 1, 2, 3, 4, 5, 6, 7, 8 or 9. Starting from an arbitrary digit
* value \( d \) this method computes \(d + d^2 + d^3 \). Example:</p>
*
* <p>A digit value of 2 will return \(2 + 2 \cdot 2 + 2 \cdot 3 \cdot 3 = 14 \).</p>
* <p>A digit value of 2 will return \(2 + 2 \cdot 2 + 2 \cdot 2 \cdot 2 = 14 \).</p>
*
* @param digit A single digit value ranging from 0 to 9.
* @return \( \texttt{digit} + \texttt{digit}^2 + \texttt{digit}^3 \).
......
......@@ -11,7 +11,7 @@ public class _2_DigitExpressions {
* <p>A single digit value <code>d</code> may be 0, 1, 2, 3, 4, 5, 6, 7, 8 or 9. Starting from an arbitrary digit
* value \( d \) this method computes \(d + d^2 + d^3 \). Example:</p>
*
* <p>A digit value of 2 will return \(2 + 2 \cdot 2 + 2 \cdot 3 \cdot 3 = 14 \).</p>
* <p>A digit value of 2 will return \(2 + 2 \cdot 2 + 2 \cdot 2 \cdot 2 = 14 \).</p>
*
* @param digit A single digit value ranging from 0 to 9.
* @return \( \texttt{digit} + \texttt{digit}^2 + \texttt{digit}^3 \).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment