//Revision of arrays 7th December 2011

#include <stdio.h>

void main()
{
int mynumbers[10];
int i;

for(i=0;i<10;i++)//loop for user to enter values into array
{
printf("Enter next value:");
scanf("%d",&mynumbers[i]);
}

for(i=0;i<10;i++)//step through array looking for >10
{
	if(mynumbers[i]>=10)
	{
	printf("Value was greater than or equal to 10");
	}
}

}