Created
July 9, 2020 08:03
-
-
Save BMU-Verlag/b632894f34d4728d7f01dfbd8f2f6ab4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
InputStreamReader isr = new InputStreamReader(System.in); | |
BufferedReader br = new BufferedReader(isr); | |
System.out.println("Wählen Sie eine Aktion aus:"); | |
System.out.println("1: Verschlüsseln 2: Entschlüsseln"); | |
String eingabe = br.readLine(); | |
int auswahl = Integer.parseInt(eingabe); | |
System.out.println("Geben Sie Ihren Code ein:"); | |
eingabe = br.readLine(); | |
int code = Integer.parseInt(eingabe); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment