Help for this page

Select Code to Download


  1. or download this
    Use a loop to write all numbers between 1 and 10
    
  2. or download this
    for ($j=1; $j<=10; $j++)
    {
        print "$j\n";
    }
    
  3. or download this
    Calculate the factorial for a user-defined number.