v1
This commit is contained in:
parent
2672fd630e
commit
80d2a4f96d
1
Kontrollstrukturen/Kontrollstrukturen afg1/.idea/.name
generated
Normal file
1
Kontrollstrukturen/Kontrollstrukturen afg1/.idea/.name
generated
Normal file
@ -0,0 +1 @@
|
|||||||
|
Main.java
|
29
Kontrollstrukturen/Kontrollstrukturen afg2/.gitignore
vendored
Normal file
29
Kontrollstrukturen/Kontrollstrukturen afg2/.gitignore
vendored
Normal 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/Kontrollstrukturen afg2/.idea/.gitignore
generated
vendored
Normal file
8
Kontrollstrukturen/Kontrollstrukturen afg2/.idea/.gitignore
generated
vendored
Normal 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
|
6
Kontrollstrukturen/Kontrollstrukturen afg2/.idea/misc.xml
generated
Normal file
6
Kontrollstrukturen/Kontrollstrukturen afg2/.idea/misc.xml
generated
Normal 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>
|
8
Kontrollstrukturen/Kontrollstrukturen afg2/.idea/modules.xml
generated
Normal file
8
Kontrollstrukturen/Kontrollstrukturen afg2/.idea/modules.xml
generated
Normal 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>
|
6
Kontrollstrukturen/Kontrollstrukturen afg2/.idea/vcs.xml
generated
Normal file
6
Kontrollstrukturen/Kontrollstrukturen afg2/.idea/vcs.xml
generated
Normal 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>
|
@ -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
Kontrollstrukturen/Kontrollstrukturen afg2/src/Main.java
Normal file
19
Kontrollstrukturen/Kontrollstrukturen afg2/src/Main.java
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
|
||||||
|
public class Main {
|
||||||
|
public static void main (String[] args){
|
||||||
|
|
||||||
|
int anfang = 1;
|
||||||
|
int n;
|
||||||
|
int speicher = 0;
|
||||||
|
|
||||||
|
n = 20;
|
||||||
|
|
||||||
|
for (int i = anfang; i < 21; i++) {
|
||||||
|
|
||||||
|
speicher += i;
|
||||||
|
System.out.println(speicher);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user