Can someone help me to output each array element
#include <iostream.h>
void array();
const int LIMIT = 50;
float MYARRAY[LIMIT];
float value = 0;
int x;
void main()
{
for(x=0;x<LIMIT;x++)
{
while(value < 999)
{
cout << "\n\nPlease enter a number: ";
cin >> MYARRAY[x];
value = value + MYARRAY[x];
}
}
}