View Single Post
06-01-2012, 01:45 PM
#3
stephan2307 is offline stephan2307
Status: I'm new around here
Join date: Jun 2012
Location: UK
Expertise: php, mysql, js, jquery
Software: PHPDesigner, Chrome
 
Posts: 10
iTrader: 0 / 0%
 

stephan2307 is on a distinguished road

  Old

thanks. first one is not really of a challenge. Result is 233168

PHP Code:
$tot 0;
    
    for (
$i=0$i<1000$i++) {
        
        if (
$i%3==|| $i%5==0) {
            
$tot +=$i;
        }
        
    }
    
    echo 
$tot
signed up to the site. looking good :P

Reply With Quote