• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

On the last day of xmas..

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #11
    Originally posted by BrowneIssue View Post
    You are quite right.

    And I made an absolutely classic error: one of the programmer's fencepost errors.

    I took 26/12/2007 + 364 presents = last present on 24/12/2008. Which is wrong because present one was given on 26/12/2007, not 27/12/2008.

    --------------------------------------------------
    Explanation of fencepost errors follows:

    1. Between my house and the neighbour's house I want to erect a fence of 1 metre fence panels. The houses are 10 metres apart. How many fenceposts are needed? Nine: because the end two fence panels are secured at the outermost ends against the houses.

    2. At the bottom of the garden I want to erect a fence of 1 metre fence panels. The garden is 10 metres wide. How many fence posts are needed? Eleven: because each fence panel needs one at the start but the final panel needs a post at the end as well.

    I started counting the days from 27/12/2007 and should have started form 26/12/2007. So on day zero I receive present one therefore on day 363 I receive present 264. Duh!

    --------------------------------------------------

    Mr Robin, you are indeed the brave red-breasted hero at the top of the Christmas banananana Tree. And I am a plank.

    10 coz the correct way to do it is to affix a post at each end to the houses walls. you have to cut down panels as well or use 9 x 1m panels and/or 8 + 1 panel of a width sufficient to allow deduction for the thickness of the intervening post's, should the post thickness be greater than 100mm


    You are a plank
    Last edited by Diver; 14 December 2007, 01:10.
    Confusion is a natural state of being

    Comment

    Working...
    X