Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Part03
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Assessment
Part03
Commits
ff9e8560
Commit
ff9e8560
authored
Dec 17, 2018
by
neil.whitehead
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
13:42 17/12/18
parent
74840eaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
AssessmentPartThree.java
src/AssessmentPartThree.java
+1
-1
No files found.
src/AssessmentPartThree.java
View file @
ff9e8560
...
@@ -20,7 +20,7 @@ public class AssessmentPartThree
...
@@ -20,7 +20,7 @@ public class AssessmentPartThree
//Dealing with negative offsets
//Dealing with negative offsets
theOffset
=
(
theOffset
<
0
)
?
26
+
theOffset
:
theOffset
;
theOffset
=
(
theOffset
<
0
)
?
26
+
theOffset
:
theOffset
;
//ensures that the offset will "wrap around"
//ensures that the offset will "wrap around"
by finding corresponding positive value
//Uppercase characters
//Uppercase characters
if
((
theChar
>=
65
)
&&
(
theChar
<=
90
))
//65 to 90 = A to B
if
((
theChar
>=
65
)
&&
(
theChar
<=
90
))
//65 to 90 = A to B
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment