#include <stdio.h> int main (int argc,char *argv[]) { int i,j,sum = 0,range = 1000; int flag = 0,count = 0; for (i = 2 ;count < 1000;i++) { //check for prime for (j = 2; j < i ;j++) { if (i % j == 0) { flag = 1;break; ...
Happy learning.