Help for this page

Select Code to Download


  1. or download this
    $cash = 10.00;
    $chocolate = 1.20;
    ...
    $candy = 0.50;
    $cash = $cash - $chocolate;
    print "I have $cash left.";
    
  2. or download this
    for ($i = 1; $i <= 20; $i++) {
        print "I have completed the loop $i times.\n";
    }