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

14
5/Kreisflaeche.~ava Normal file
View File

@@ -0,0 +1,14 @@
import java.text.DecimalFormat;
public class Kreisflaeche {
public static DecimalFormat d = new DecimalFormat("0.00");
public static void main(String[] args) {
kreisflaecheB(2);
}
public static void kreisflaecheB( double r) {
System.out.println(d.format(Math.round( (Math.PI * Math.pow(r,2)) )));
}
}