Не выполняется цикл While

#include <iostream>
#include <string>
using namespace std;

int main()
{
int i, z, k = 0, r = 0, mas[i], mass[r];
string ans;
while (z < 60000);
{
cin >> z;
if (z == 0)
{
    cout << "Vi vveli vse chisla? (Yes / No) ";
    cin >> ans;
    if (ans == "Yes")
        break;
    if (ans == "No")
        continue;
}

if (z < 0)
{mass[r] = z;
r++;
}
else
{
mas[i] = z;
i++;
if (z == 0)
k++;
}
cout << "Kolichistvo chisel men`she nulya: " << r << "\n";
cout << "Kolichistvo chisel bol`she nulya: " << i << "\n";
cout << "Kolichistvo nulley: " << k;
}
return 0;
}

Ответы (0 шт):