$tot = 0; for ($i=0; $i<1000; $i++) { if ($i%3==0 || $i%5==0) { $tot +=$i; } } echo $tot;
Home | | News | Rules | FAQ |
The time is now 11:32 PM (GMT).
Powered by: vBulletin Version 3.8.4 Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.