//Loops(3) Solution Ex 3

#include <stdio.h>

void main()
{
	int x,total=0;

	for (x = 1; x <= 10; x++)
	{
		total = total + x;
	}
	printf("The sum of the numbers is %d", total);

}