0

hey i jst need a lil help with dis...

```
void main()
{
for(int polygon = 0;polygon < 3;polygon++)
{
int i, j;
const int max =5;
int end;
int sort;
int ymin = 21;
int start;
int ypos;
int vertices=0;
if(polygon == 0)
{
float x0[] = {20, 40, 90, 120, 70};
float x1[] = {40, 90, 120, 70, 20};
float y0[] = {20, 120, 130, 60, 90};
float y1[] = {120, 130, 60, 90, 20};
}
else if(polygon == 1)
{
float x0[] = {200, 200, 240, 300, 300, 250};
float x1[] = {200, 240, 300, 300, 250, 200};
float y0[] = {50, 80, 120, 70, 20, 60};
float y1[] = {80, 120, 70, 20, 60, 50};
}
else
{
float x0[] = {400, 400, 420, 450, 450, 480, 500, 475, 445, 445};
float x1[] = {400, 420, 450, 450, 480, 500, 475, 445, 445, 400};
float y0[] = {40, 80, 110, 110, 80, 80, 70, 20, 20, 40};
float y1[] = {80, 110, 110, 80, 80, 70, 20, 20, 40, 40};
}
cout << x0[vertices] << " "; <--------problem
}
}
```

da error is saying that x0 is not declared...help!!!