Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   C (http://www.domainnameforum.org/forumdisplay.php?f=124)
-   -   Finding prime numbers and using functions (http://www.domainnameforum.org/showthread.php?t=128631)

C++ 10-05-2010 09:24 AM

Finding prime numbers and using functions
 
I think I have a hard time understanding the return() statement. I have to make a program where a user gives the lower limit and upper limit as input. After that, the program should give all prime numbers that are between those 2 numbers. A testcase would be: input: 10 30 output:


All times are GMT -4. The time now is 09:52 AM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.