commit 8d894953482e3c392c2e81e77d97a34cca4ddf87 Author: Dejan Date: Thu Aug 19 22:19:10 2021 +0200 init commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/todolist_editor/pom.xml b/todolist_editor/pom.xml new file mode 100644 index 0000000..41a60cb --- /dev/null +++ b/todolist_editor/pom.xml @@ -0,0 +1,75 @@ + + + + 4.0.0 + + de.dejan.todolist + todolist_editor + 0.1 + + todolist_editor + + http://www.example.com + + + UTF-8 + 1.7 + 1.7 + + + + + junit + junit + 4.11 + test + + + + + + + + + maven-clean-plugin + 3.1.0 + + + + maven-resources-plugin + 3.0.2 + + + maven-compiler-plugin + 3.8.0 + + + maven-surefire-plugin + 2.22.1 + + + maven-jar-plugin + 3.0.2 + + + maven-install-plugin + 2.5.2 + + + maven-deploy-plugin + 2.8.2 + + + + maven-site-plugin + 3.7.1 + + + maven-project-info-reports-plugin + 3.0.0 + + + + + diff --git a/todolist_editor/src/main/java/de/dejan/todolist/Main.java b/todolist_editor/src/main/java/de/dejan/todolist/Main.java new file mode 100644 index 0000000..09d22b8 --- /dev/null +++ b/todolist_editor/src/main/java/de/dejan/todolist/Main.java @@ -0,0 +1,33 @@ +package de.dejan.todolist; + +import java.util.Scanner; + +/** + * Hello world! + * + */ +public class Main{ + public static void main( String[] args ){ + String[] tasks=new String[10]; + + System.out.println("ToDo-Liste:"); + + System.out.println("\n10 Aufgaben hinzufügen:"); + + for(int i=0; i<10; i++){ + + tasks[i]=System.console().readLine(); + + } + + System.out.println("\nListe:"); + + for(int i=0; i<10; i++){ + + System.out.println(tasks[i]); + + } + + + } +}