Program to Implement break Statement

#include <stdio.h>
main()
{
int i;
for (i=1; i<=10; i++)
{
printf("\n%d", i);
if (i == 7)
break;
}
getch();
}