Re: Help converting C to PHP
| From: | Richard Lynch | Date: | Sat, 23 Sep 2006 01:25:49 +0000 |
| Subject: | Re: Help converting C to PHP | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-242132@lists.php.net to get a copy of this message | ||
On Fri, September 22, 2006 7:40 pm, Rory Browne wrote:
> The script must be web based, and ask the user to enter a number. The
> script
> must then calculate the lowest Prime Number above that number.
I would like to have one point clarified:
By "above that number" do you literally mean > or would >= be deemed
the correct interpretation?
E.g. for an input of '2' do you expect '2' or '3' as the answer?
Or is our ability to correctly interpret this as > part of the
exercise?...
Ooops.
--
Like Music?
http://l-i-e.com/artists.htm