Hi some logic help is required!!!!!
| From: | Balaji Ankem | Date: | Thu, 14 Mar 2002 11:51:24 +0000 |
| Subject: | Hi some logic help is required!!!!! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-88470@lists.php.net to get a copy of this message | ||
Hi friend,
I need some help on this logic...
1. I have some range (A to B) which is fixed and A,B are very large
numbers.(A<B)
2. I have X to Y and I want to check this range should not match with A
to B.
How can I check this?
Ex:
1) A=4 B=8
Totally 4 cases will come!!
X=2 Y=5
X=5 Y=6
X=2 Y=9
X=6 Y=9
In all the above cases that logic should return false.
How can I solve this?? Don't use for loop!!!!!(Because those are
very large numbers (chrores))
And logic should be simple and cute!!!!!
Cheers
Balaji
**************************Disclaimer************************************ Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. ********************************************************************
**************************Disclaimer************************************ Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. ********************************************************************