```
#include <fstream>
#include <iostream>
#include <iomanip>
int main()
{
int index;
int counter=0;
double comparison_variable;
float numbers;
double array_numbers[10]; // an array with 10 floating points
for(index=0; index < 10; index++)
{
cout <<"enter array_numbers"<< (index +1)<<":" ; ERROR: undeclared (first use this function
cin >>array_numbers[index];
if(index > 0)
{
if(numbers(index)> numbers(0))
{
counter = counter +1
}
}} cout <<"counter =" << counter <<endl;
system("PAUSE");
return 0;
}
```