This commit is contained in:
Peter Petrek 2021-12-03 01:08:46 +01:00
parent cb0e116d08
commit e9d91350a4

View File

@ -72,7 +72,7 @@ void vypisovac(int vypis[SIZE], int input[SIZE], int size){
counter = 0; counter = 0;
space++; space++;
} }
else if (counter>=count && i>(size/2) || vypis[i]<count-1) else if (counter>=count && i>(size/2))
{ {
if (input[vypis[i]]>input[vypis[i-1]]) if (input[vypis[i]]>input[vypis[i-1]])
{ {