C ++ program to find the sum and product of k smallest and k largest composite numbers in an array
#include <bits/stdc++.h> NEW_LINE using namespace std ; vector < bool > SieveOfEratosthenes ( int max_val ) {