Commit 1c94b441 authored by Dr. Martin Goik's avatar Dr. Martin Goik

Missing data line

parent 3ae2471b
...@@ -1159,7 +1159,8 @@ public class CircleAreaCalculator { ...@@ -1159,7 +1159,8 @@ public class CircleAreaCalculator {
+ "24219022671055626321111109370544217506941658960408" + "24219022671055626321111109370544217506941658960408"
+ "07198403850962455444362981230987879927244284909188" + "07198403850962455444362981230987879927244284909188"
+ "84580156166097919133875499200524063689912560717606" + "84580156166097919133875499200524063689912560717606"
+ "05886116467109405077541002256983155200055935729725"; + "05886116467109405077541002256983155200055935729725"
+ "71636269561882670428252483600823257530420752963450";
final int NUM_OF_DIGITS = 13; // The intended number of adjacent digits final int NUM_OF_DIGITS = 13; // The intended number of adjacent digits
...@@ -1184,7 +1185,8 @@ public class CircleAreaCalculator { ...@@ -1184,7 +1185,8 @@ public class CircleAreaCalculator {
xlink:href="https://docs.oracle.com/javase/10/docs/api/java/lang/String.html#charAt(int)">charAt(int xlink:href="https://docs.oracle.com/javase/10/docs/api/java/lang/String.html#charAt(int)">charAt(int
index)</methodname> allows us to access each character within our index)</methodname> allows us to access each character within our
string individually. We need to write a method which converts a string individually. We need to write a method which converts a
digit like '4' to the value 4. Remember: The Unicode value of e.g. digit like '4' to the value 4. Remember: The
<productname>Unicode</productname> value of <abbrev>e.g.</abbrev>
character '4' equals its ASCII value which is just 52. Thus we character '4' equals its ASCII value which is just 52. Thus we
need a translation like:</para> need a translation like:</para>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment