bool isprime (int num);
printf("Enter numbers > ");
sort by best latest
Please find below some code which will create a list of primes up to a user dfined number. Hope this Helps. (sorry can't fit enough of the code here)
using namespace std;
cout > num;
void prime_num( int num)
for ( int i = 2; i
You can help the HubPages community highlight top quality content by ranking this answer up or down.
Copyright © 2018 HubPages Inc. and respective owners. Other product and company names shown may be trademarks of their respective owners. HubPages® is a registered Service Mark of HubPages, Inc. HubPages and Hubbers (authors) may earn revenue on this page based on affiliate relationships and advertisements with partners including Amazon, Google, and others.
Copyright © 2018 HubPages Inc. and respective owners.