Browse Source

else if hinzugefügt für labyrinth ausgabe

remotes/origin/LabOpti
Ronja Awe 2 years ago
parent
commit
b7ab3e3beb
  1. 4
      src/c/labyrinth.c

4
src/c/labyrinth.c

@ -15,7 +15,9 @@ int printlabyrinth(lab laby, int hoehe, int breite){
if(laby[i][j] == '1'){ if(laby[i][j] == '1'){
printf(""); printf("");
} }
else if(laby[i][j] == WEG){
printf(" ");
}
else{ else{
printf("%c ", laby[i][j]); printf("%c ", laby[i][j]);
} }

Loading…
Cancel
Save