include[HTML_REMOVED]
using namespace std;
int main()
{
int x[10];
int length = sizeof(x)/sizeof(x[0]);
for(int i = 0;i[HTML_REMOVED]>x[i];
if(x[i]<=0)
{
x[i] = 1;
}
cout<<”X[“<<i<<”] = “<<x[i]<<endl;
}
return 0;
}