Commit 1f767dd2 authored by ash.brett's avatar ash.brett

Update AssessmentPartThree.java

parent cf62890f
...@@ -22,7 +22,7 @@ public class AssessmentPartThree { ...@@ -22,7 +22,7 @@ public class AssessmentPartThree {
//This section of the code creates a new string which is equal the value of theChar //This section of the code creates a new string which is equal the value of theChar
String letter=String.valueOf(theChar); String letter=String.valueOf(theChar);
//These statements are set up to ensure that the offset value is able to scale up and down without encountering an error //These statements are set up to ensure that the offset value is able to scale up and down without encountering an error
if (theOffset > 26){ if (theOffset > 26){
theOffset = theOffset%26; theOffset = theOffset%26;
} }
else if (theOffset < 0) else if (theOffset < 0)
......
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