#include"stdio.h" main() { int i, j; for(i=2;i<32767;i++) { for(j=2;j<i;j++) { if ((i%j)==0 ) break; } if (i==j) printf("%d\n",i); } return 0; }
int const startingIndex = 2;
#define startingIndex 2
i == 3
4%2 == 0
6%2 == 0
i == j
int
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)