From 43d80b737fe4dae1615e0a5a92dd632dd2ce67ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20B=20Nagy?= <20251272+BNAndras@users.noreply.github.com> Date: Sun, 30 Jun 2024 23:14:15 -0700 Subject: [PATCH] Remove parentheses Co-authored-by: DimuthuMadushan <35717653+DimuthuMadushan@users.noreply.github.com> --- .../rotational-cipher/.meta/reference/rotational_cipher.bal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }