#21076: __求解


m923t917 (XDDDDXD)


#include <iostream>
using namespace std;
int main()
{
int i;
string a[1000];
i=0;
while(i<10)
{
cin >> a[i];
}
for (i=0;i<10;i++)
{
cout << "hello, " << a[i] << endl;
}
return 0;
}

這裡的 i 要怎麼設定範圍?