#include <stdio.h>

int main()
{
	int number = 0;
	int total = 0;
	int count = 1;
	for( ; count <= 5; count++)
	{
		if(count == 1)
		{
			printf("Enter a number between 1 and 10\n");
			scanf("%i", &number);
		}
		if(count > 1)
		{
			printf("Enter another number 1 and 10\n");
			scanf("%i", &number);
		}

		if(number > 3 && number < 7)
		{
			printf("You entered %i which is greater than 3 and less than 7 \n", number);
		}	
		total = total + number;
	}
	printf("The average of the numbers you entered is %g: \n ", total/5.0);
	return 0;
	
}
