This commit is contained in:
Mykola Fesenko
2025-07-29 08:08:23 +02:00
commit 899a05907b
355 changed files with 11002 additions and 0 deletions

23
7/BR.~ava Normal file
View File

@@ -0,0 +1,23 @@
import java.io.*;
public class BR {
public static void main(String args[]) throws IOException {
String speicher;
BufferedReader eingabe = new BufferedReader(new InputStreamReader(System.in));
System.out.print("Geben Sie Zahl: ");
speicher = eingabe.readLine();
try {
int zahl = Integer.parseInt(speicher);
System.out.println("Quadrat: " + (zahl*zahl));
} catch(NumberFormatException e) {
System.out.println("Geben Sie ganzzahlige zahl");
}
}
}