Random Stuff that needs comitting

This commit is contained in:
Matti 2024-06-03 15:18:05 +02:00
parent b5d79e2b57
commit 929832b3aa
4 changed files with 12 additions and 10 deletions

3
.idea/misc.xml generated
View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="21" project-jdk-type="JavaSDK"> <component name="ProjectRootManager" version="2" languageLevel="JDK_21" project-jdk-name="openjdk-22" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" /> <output url="file://$PROJECT_DIR$/out" />
</component> </component>
</project> </project>

View File

@ -0,0 +1,5 @@
Moodle meldet beim Versuch die Word-Datei einzufügen einen Fehler "Verbindung zum Server verloren"
daher die Abgabe im PDF Format.
Die Word Datei ist bei Gitea hochgeladen und kann dort heruntergeladen werden.
https://gitea.hb.dhbw-stuttgart.de/vanBos/S2_Aufgaben/src/branch/main/Medien/Dokumente/Abgabe%2014.05.24.docx

View File

@ -2,15 +2,11 @@
// then press Enter. You can now see whitespace characters in your code. // then press Enter. You can now see whitespace characters in your code.
import part3.aufg3.Anwendung; import part3.aufg3.Anwendung;
public class Main { public class Main {
public static void main(String[] args) { public static void main(String[] args) {
int size; System.out.println("I am Main!");
int MAX_LENGTH = 3;
int MIN_LENGTH = 10;
for (int i = 0; i <25; i++) {
size = (int) (Math.random() * MAX_LENGTH);
System.out.println(size);
}
} }
} }

View File

@ -57,7 +57,7 @@ public class Anwendung {
public static void main(String[] args) { public static void main(String[] args) {
int stringsToAdd = 500_000; int stringsToAdd = 1000_000;
long totalTimeSpent = 0; long totalTimeSpent = 0;
int measurements = 10; int measurements = 10;