Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
InputStreamReader isr = new InputStreamReader(;
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