Skip to content

Commit 8cbe08a

Browse files
authored
Update MonoAlphabetic.java
1 parent 31909e8 commit 8cbe08a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main/java/com/thealgorithms/ciphers/MonoAlphabetic.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,12 @@ public static void main(String[] args) {
1818
String encryptedData = encrypt(data, key);
1919
System.out.println("Encrypted data: " + encryptedData);
2020
break;
21-
2221
case 2:
2322
System.out.println("\nPlease enter the data that is to be decrypted, we will be using MonoAlphabetic Cipher to decrypt the data.");
2423
data = read.nextLine().toUpperCase();
2524
String decryptedData = decrypt(data, key);
2625
System.out.println("Decrypted data: " + decryptedData);
2726
break;
28-
2927
default:
3028
System.out.println("The input was invalid. Kindly restart.");
3129
break;
@@ -68,5 +66,4 @@ public static int getIndex(char c, String key) {
6866
}
6967
return idx;
7068
}
71-
7269
}

0 commit comments

Comments
 (0)