diff --git a/exercises/practice/rotational-cipher/.meta/reference/rotational_cipher.bal b/exercises/practice/rotational-cipher/.meta/reference/rotational_cipher.bal index db46e36..2897ab1 100644 --- a/exercises/practice/rotational-cipher/.meta/reference/rotational_cipher.bal +++ b/exercises/practice/rotational-cipher/.meta/reference/rotational_cipher.bal @@ -12,7 +12,7 @@ function rotate(string text, int shiftKey) returns string { if codePoint >= 65 && codePoint <= 90 { newCodePoint = 65 + (codePoint - 65 + shiftKey) % 26; } - else if (codePoint >= 97 && codePoint <= 122) { + else if codePoint >= 97 && codePoint <= 122 { newCodePoint = 97 + (codePoint - 97 + shiftKey) % 26; }