Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
amprog_05_ex1 [2016-10-17 10:49]
Anders Mosshäll
amprog_05_ex1 [2017-08-29 15:33]
Anders Mosshäll
Line 17: Line 17:
          
     $x = 0;     $x = 0;
-    while ($x < count($tal)){ // Finns talet reda i arrayen?  +    while ($x < count($tal)){ // Finns talet redan i arrayen?  
       if ($tal[$x] == $slump){       if ($tal[$x] == $slump){
         $slumpaom = true;         $slumpaom = true;