First Commit

This commit is contained in:
2024-03-15 10:14:00 +01:00
commit a55f32a72c
56 changed files with 1863 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
package de.dejan_hopp.io;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Kbd {
public static String readString(){
try {
BufferedReader r=new BufferedReader(new InputStreamReader(System.in));
return r.readLine();
} catch (IOException ioe) {
System.out.println(ioe);
return "FEHLER BEIM EINLESEN!";
}
}
public static int readInt() throws IOException{
BufferedReader r=new BufferedReader(new InputStreamReader(System.in));
return Integer.parseInt(r.readLine());
}
}