Results 1 to 1 of 1
  1. #1
    Newbie
    Join Date
    May 11th, 2012
    Posts
    1
    Need a help - PHP cording (for my exercise)
    Hi,

    I'm new to this Forum. I need to find the correct answers for following questions.

    Exercise:
    write down PHP code to print all ODD numbers between 0 and 100.
    a) Using for loop
    b)Using while loop

    Exercise:
    Define a PHP function to get a positive integer as input as input parameter and to return the sum of all integers from 1 up to that number

    Irosh
    Last edited by Chuck Hamrick; May 11th, 2012 at 03:21 PM. Reason: Removed signature

  2. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Exercise balls are dangerous
    By Phil Kaufman aka AffiliateHound in forum Virtual Family and Off-Topic
    Replies: 5
    Last Post: March 30th, 2010, 10:06 PM
  2. New Exercise Pill
    By Mr. Sal in forum Virtual Family and Off-Topic
    Replies: 5
    Last Post: September 2nd, 2008, 09:45 AM
  3. Exercise for People Over 50
    By Phil Kaufman aka AffiliateHound in forum Virtual Family and Off-Topic
    Replies: 7
    Last Post: January 8th, 2008, 01:15 PM
  4. What is the name of this exercise equip?
    By Uncle Rico in forum Virtual Family and Off-Topic
    Replies: 1
    Last Post: December 11th, 2007, 02:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •