Compare commits

..

33 Commits

Author SHA1 Message Date
DH10RBH
45b1db1e2d v1 2024-04-17 13:39:26 +02:00
DH10RBH
32dc2f3f82 v1 2024-04-17 13:39:05 +02:00
DH10RBH
0589cb16e7 v1 2024-04-17 13:37:56 +02:00
DH10RBH
ce541fe39f v1 2024-04-17 13:32:43 +02:00
DH10RBH
c03543b334 v1 2024-04-17 11:58:05 +02:00
DH10RBH
186872ad58 v3 2024-04-16 11:49:55 +02:00
DH10RBH
c5b526ec44 v3 2024-04-16 11:33:30 +02:00
DH10RBH
7881c5b11f v1 2024-04-15 13:52:51 +02:00
DH10RBH
d0b3ee8e6a v1 2024-04-15 13:14:03 +02:00
DH10RBH
f7ee29f5e2 v1 2024-04-15 13:09:21 +02:00
DH10RBH
80d2a4f96d v1 2024-04-15 13:08:15 +02:00
DH10RBH
2672fd630e v1 2024-04-15 13:06:44 +02:00
DH10RBH
90b9cccf85 Merge remote-tracking branch 'origin/master' 2024-04-15 11:44:50 +02:00
DH10RBH
cb4c5c2b8e Test Commit 2024-04-15 11:44:40 +02:00
DH10RBH
bac42c25fd Test Commit 2024-04-15 11:37:46 +02:00
DH10RBH
bc35b1d0eb Test Commit 2024-04-15 11:25:12 +02:00
DH10RBH
fa079409fd v1 2024-04-15 10:34:14 +02:00
DH10RBH
5004561108 v1 2024-04-15 10:32:11 +02:00
DH10RBH
0e4d60dcb7 v1 2024-04-15 10:30:02 +02:00
DH10RBH
46243949d5 v1 2024-04-15 10:28:28 +02:00
DH10RBH
5435521cba Bitte funktionier2 2024-04-15 10:27:46 +02:00
DH10RBH
67eb6a84e9 Bitte funktionier 2024-04-15 10:23:14 +02:00
cb3239ad00 Dateien nach "/" hochladen 2024-04-12 08:24:46 +00:00
c9627c29fb Dateien nach "/" hochladen 2024-04-12 08:21:22 +00:00
a3ffad4c35 Programmieren_06_Objektorientierung_1 (1).pdf gelöscht 2024-04-12 08:21:04 +00:00
0934ef2b5e Dateien nach "/" hochladen 2024-04-12 08:20:18 +00:00
2b9abc5ad5 Dateien nach "/" hochladen 2024-04-12 08:20:04 +00:00
2e7e3e0bd6 Dateien nach "/" hochladen 2024-04-12 08:19:36 +00:00
DH10RBH
daa9ff1d9e afg 4 hinzugefügt 2024-04-12 07:47:37 +02:00
DH10RBH
3f7faba2f7 v1 2024-04-12 07:43:31 +02:00
DH10RBH
6c11aa4ca2 v1 2024-04-12 07:31:58 +02:00
DH10RBH
2e2430c163 better visibility 2024-04-10 10:33:43 +02:00
DH10RBH
cd4c8bd866 better visibility 2024-04-10 10:31:53 +02:00
105 changed files with 855 additions and 58 deletions

11
.idea/modules.xml generated Normal file
View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/Gitea Repo S1.iml" filepath="$PROJECT_DIR$/Gitea Repo S1.iml" />
<module fileurl="file://$PROJECT_DIR$/Objektorientierung III, afg3/Objektorientierung III, afg3.iml" filepath="$PROJECT_DIR$/Objektorientierung III, afg3/Objektorientierung III, afg3.iml" />
<module fileurl="file://$PROJECT_DIR$/Variablen und Ausdruecke afg3/Variablen und Ausdruecke afg3.iml" filepath="$PROJECT_DIR$/Variablen und Ausdruecke afg3/Variablen und Ausdruecke afg3.iml" />
<module fileurl="file://$PROJECT_DIR$/Variablen und Ausdruecke aufg 1 und 2/Variablen und Ausdruecke aufg 1 und 2.iml" filepath="$PROJECT_DIR$/Variablen und Ausdruecke aufg 1 und 2/Variablen und Ausdruecke aufg 1 und 2.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

11
Gitea Repo S1.iml Normal file
View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/Objektorientierung I, afg1" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

Binary file not shown.

View File

@@ -0,0 +1 @@
Main.java

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/Kontrollstrukturen afg1.iml" filepath="$PROJECT_DIR$/Kontrollstrukturen afg1.iml" />
</modules>
</component>
</project>

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component>
</project>

View File

@@ -0,0 +1,20 @@
public class Main {
public static void main(String[] args) {
int MAXIMUM;
MAXIMUM = 20;
for ( int i = 1; i < MAXIMUM; i++ ){
if (i %2 == 0) {
System.out.println(i);
}
}
for (int i = MAXIMUM; i > 1; i--) {
if (i %2 != 0) {
System.out.println(i);
}
}
}
}

View File

@@ -0,0 +1,29 @@
### IntelliJ IDEA ###
out/
!**/src/main/**/out/
!**/src/test/**/out/
### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
### VS Code ###
.vscode/
### Mac OS ###
.DS_Store

View File

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

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/Kontrollstrukturen afg2.iml" filepath="$PROJECT_DIR$/Kontrollstrukturen afg2.iml" />
</modules>
</component>
</project>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
</component>
</project>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@@ -0,0 +1,40 @@
public class Main {
public static void main (String[] args){
int anfang = 1;
int n;
int speicher = 0;
n = 20;
for (int i = anfang; i <= n; i++) {
speicher += i;
System.out.println(speicher);
}
/* anfang = 1;
while (anfang <= n) {
speicher += anfang;
System.out.println(speicher);
anfang++;
} */
/* anfang = 1;
do {
speicher += anfang;
System.out.println(speicher);
anfang++;
} while (anfang <= n); */
}
}

29
Kontrollstrukturen/afg3 sieb/.gitignore vendored Normal file
View File

@@ -0,0 +1,29 @@
### IntelliJ IDEA ###
out/
!**/src/main/**/out/
!**/src/test/**/out/
### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
### VS Code ###
.vscode/
### Mac OS ###
.DS_Store

8
Kontrollstrukturen/afg3 sieb/.idea/.gitignore generated vendored Normal file
View File

@@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

View File

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

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/afg3 sieb.iml" filepath="$PROJECT_DIR$/afg3 sieb.iml" />
</modules>
</component>
</project>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
</component>
</project>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@@ -0,0 +1,40 @@
import java.util.Arrays;
public class Main {
// =====================
// Sieb des Erathostenes (kopiert von Matti)
// =====================
public static void main(String[] args){
int MAXIMUM = 100;
int MAX_PER_ROW = 20;
boolean[] primes = new boolean[MAXIMUM];
Arrays.fill(primes, true);
for(int i=2; i < MAXIMUM * 0.5; i++){
for(int j=2; j < ((MAXIMUM*1.0)/i); j++){
int index = i * j;
if(index < MAXIMUM && index > 0){
primes[index] = false;
}
}
}
int counter = 0;
for(int i=0; i < primes.length; i++){
if(primes[i] && i > 1) {
System.out.print(i + " ");
counter++;
if (counter % MAX_PER_ROW == 0) {
System.out.println();
}
}
}
}
}

View File

@@ -0,0 +1,29 @@
### IntelliJ IDEA ###
out/
!**/src/main/**/out/
!**/src/test/**/out/
### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
### VS Code ###
.vscode/
### Mac OS ###
.DS_Store

8
Kontrollstrukturen/afg4 zinsen/.idea/.gitignore generated vendored Normal file
View File

@@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

View File

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

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/afg4 zinsen.iml" filepath="$PROJECT_DIR$/afg4 zinsen.iml" />
</modules>
</component>
</project>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
</component>
</project>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@@ -0,0 +1,43 @@
public class Main {
public static void main(String[] args) {
float startwert = 23550.5F;
int laufzeit = 10;
float zinssatz1, zinssatz2, zinssatz3;
zinssatz1 = 2.3F;
zinssatz2 = 0.5F;
zinssatz3 = 1.0F;
float haben1 = startwert;
float haben2 = startwert;
float haben3 = startwert;
for (int i=1; i <= laufzeit; i++){
haben1 = (haben1 + haben1*(zinssatz1/100));
System.out.println("Nach " + i + " Jahren beträgt das Haben mit Zinssatz1: " + haben1 + " Euro.");
}
System.out.println("==============================================");
for (int i=1; i <= laufzeit; i++){
haben2 = (haben2 + haben2*(zinssatz2/100));
System.out.println("Nach " + i + " Jahren beträgt das Haben mit Zinssatz2: " + haben2 + " Euro.");
}
System.out.println("==============================================");
for (int i=1; i <= laufzeit; i++){
haben3 = (haben3 + haben3*(zinssatz3/100));
System.out.println("Nach " + i + " Jahren beträgt das Haben mit Zinssatz3: " + haben3 + " Euro.");
}
}
}

View File

@@ -0,0 +1,29 @@
### IntelliJ IDEA ###
out/
!**/src/main/**/out/
!**/src/test/**/out/
### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
### VS Code ###
.vscode/
### Mac OS ###
.DS_Store

8
Kontrollstrukturen/afg6 switch/.idea/.gitignore generated vendored Normal file
View File

@@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

View File

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

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/afg6 switch.iml" filepath="$PROJECT_DIR$/afg6 switch.iml" />
</modules>
</component>
</project>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
</component>
</project>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@@ -0,0 +1,95 @@
public class Main {
public static void main(String[] args) {
enum Monate{Januar,Februar,März,April,Mai,Juni,Juli,August,September,Oktober,November,Dezember}
Monate aktuellerMonat = Monate.August;
String quartal = "";
//a
/* switch(aktuellerMonat){
case Januar:
quartal = "Q1";
break;
case Februar:
quartal = "Q1";
break;
case März:
quartal = "Q1";
break;
case April:
quartal = "Q2";
break;
case Mai:
quartal = "Q2";
break;
case Juni:
quartal = "Q2";
break;
case Juli:
quartal = "Q3";
break;
case August:
quartal = "Q3";
break;
case September:
quartal = "Q3";
break;
case Oktober:
quartal = "Q4";
break;
case November:
quartal = "Q4";
break;
case Dezember:
quartal = "Q4";
break;
default:
quartal = "Kein Monat gefunden."; */
//b
/* switch(aktuellerMonat){
case Januar:
case Februar:
case März:
quartal = "Q1";
break;
case April:
case Mai:
case Juni:
quartal = "Q2";
break;
case Juli, August, September:
quartal = "Q3";
break;
case Oktober, November, Dezember:
quartal = "Q4";
break;
default:
quartal = "Kein Monat gefunden.";
break; */
//cde
switch(aktuellerMonat){
case Januar, Februar, März -> quartal = "Q1";
case April, Mai, Juni -> quartal = "Q2";
case Juli, August, September -> quartal = "Q3";
case Oktober, November, Dezember -> quartal = "Q4";
default -> quartal = "Kein Monat gefunden.";
}
System.out.println("Der aktuelle Monat ist: " + aktuellerMonat + ", zugeordnetes Quartal: " + quartal);
}
}

View File

@@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

View File

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

View File

@@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

View File

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

View File

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View File

@@ -0,0 +1,29 @@
### IntelliJ IDEA ###
out/
!**/src/main/**/out/
!**/src/test/**/out/
### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
### VS Code ###
.vscode/
### Mac OS ###
.DS_Store

View File

@@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

View File

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

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

19
README.md Normal file
View File

@@ -0,0 +1,19 @@
# Auch🔥Spitzenmäßiges🔥Repo🔥
Oberthema als Überschrift, Aufgaben im Ordner
## Bisher (fast) vollständig vorhanden:
- Dokumentation und Programmierstil
- Variablen und Audrücke
- Objektorientierung fast vollständig
- Kontrollstrukturen fast vollständig
## fehlende Lösungen:
- Exceptions
- Rekursion u. Backtracking

View File

@@ -0,0 +1,29 @@
### IntelliJ IDEA ###
out/
!**/src/main/**/out/
!**/src/test/**/out/
### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
### VS Code ###
.vscode/
### Mac OS ###
.DS_Store

View File

@@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

View File

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

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/Variablen und Ausdruecke afg3.iml" filepath="$PROJECT_DIR$/Variablen und Ausdruecke afg3.iml" />
</modules>
</component>
</project>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component>
</project>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@@ -0,0 +1,27 @@
public class Main {
public static void main(String[] args) {
int a, b, c;
a = 3;
b = 4;
c = 5;
boolean pythagoras = false;
pythagoras = ((a*a) + (b*b) == (c*c));
System.out.println("a, b und c machen Pythagoras glücklich: " + pythagoras);
}
}
/* afg4
a) boolean
b) error?
c) float
d) error?
e) float
f) boolean
g) error?
*/

View File

@@ -0,0 +1,29 @@
### IntelliJ IDEA ###
out/
!**/src/main/**/out/
!**/src/test/**/out/
### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
### VS Code ###
.vscode/
### Mac OS ###
.DS_Store

View File

@@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

View File

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

Some files were not shown because too many files have changed in this diff Show More