Schleifenkopf verbessert
Initialisierung von Zählvariable "tag" in Schleifenkopf aufgenommen.
This commit is contained in:
parent
e59038ce18
commit
e6e185e571
|
|
@ -26,9 +26,8 @@ public class Main {
|
||||||
static void erzeugeListe(int persnr, int[][] zeiten, int jahr, int monat) {
|
static void erzeugeListe(int persnr, int[][] zeiten, int jahr, int monat) {
|
||||||
|
|
||||||
int anwesenheitMonat = 0;
|
int anwesenheitMonat = 0;
|
||||||
int tag = 1;
|
|
||||||
schreibeKopfzeile(persnr, jahr, monat);
|
schreibeKopfzeile(persnr, jahr, monat);
|
||||||
for (int i = 0; tag <= tageImMonat(monat, jahr); ) {
|
for (int i = 0, tag = 1; tag <= tageImMonat(monat, jahr); ) {
|
||||||
int min1 = -1;
|
int min1 = -1;
|
||||||
int min2 = -1;
|
int min2 = -1;
|
||||||
int anwesenheitTag = -1;
|
int anwesenheitTag = -1;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue