master
Minkra 2023-10-17 12:06:05 +02:00
parent a052a6a98a
commit 49498f5465
3 changed files with 31 additions and 11 deletions

View File

@ -116,6 +116,30 @@ public class Anfang
return binom(n-1, k-1) + binom(n-1, k);
}
public static void Math()
{
double[] arr = new double [10];
for( int i=0; i<10;i++)
{
arr[i] = Math.random();
}
for (int i = 0; i<10; i++)
{
System.out.println(arr[i]);
}
double summe= 0;
for(int i=0;i<10;i++)
{
summe = summe +arr[i];
}
System.out.println(summe);
double min = 1;
double max = 0;
System.out.println(min);
System.out.println(max);
}
}

View File

@ -1,11 +0,0 @@
public class __SHELL1 extends bluej.runtime.Shell {
public static java.lang.Object run() throws Throwable {
int __bluej_param0 = 288;
try {
return makeObj(Anfang.fibo(__bluej_param0)
);}
finally {
}
}}

7
__SHELL40.java Normal file
View File

@ -0,0 +1,7 @@
public class __SHELL40 extends bluej.runtime.Shell {
public static void run() throws Throwable {
Anfang.Aufgabe2();
}}