Results 1 to 4 of 4

Thread: How things add up

  1. #1

    Thread Starter
    Wall Poster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,836

    How things add up

    I got this wrong when it was said as a sentence:

    What is forty plus forty times zero plus one? I said one. The person that asked me said no it is forty one. I plugged that into a program as:

    Dim X as long
    X = 40 + 40 * 0 + 1
    msgbox(X)

    and the answer came out as 41 which is correct.

    I've never been good at math but I remember now something about doing multiplication and division first followed by adding and subtracting. What I can't remember is what mathmatical rule(s) that is called.

    Anyone know?

  2. #2
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

  3. #3
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: How things add up

    BODMAS = Brackets Order (Of) Division Multiplication Addition and Subtraction
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,930

    Re: How things add up

    Thread moved to the 'Maths' forum.

Posting Permissions

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



Click Here to Expand Forum to Full Width