Program of Continue Statement in C

#include <stdio.h>
main()
{

          int i, n, a, sq;
          printf(" Program finds square of positive numbers only ");
          printf(" How many numbers you want to enter: ");
          scanf("%d", &n);

          for (i=1; i<=n; i++)
          {
                    printf(" Enter number: ");
                    scanf("%d", &a); 

                    if (a < 0)
                    continue; 

                    sq = a * a;

                    printf(" Square = %d ", sq);
          }

getch();

}