Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Friday riddle...

Friday riddle...

Scheduled Pinned Locked Moved The Lounge
javacomtoolsquestion
22 Posts 13 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Olli

    OK, i have another stupid riddle for friday.... Three guys are in a restaurant, and they think they should order something for three. Everybody gives 10$, and they call the waitress. The waitress takes the 30$ and goes to the kitchen to order a meal for 30$. Because the cook knows the three guys, he tells the waitress to give them 5$ back. She walks back to the table with the 5$, and because 5$ is not really good to divide by three, the guys tell her only to give 1$ back to each and keep 2$ as tip. And here's the riddle: Everybody has paid 10$ and got 1$ back, that makes 9$, right? 3x9$ is 27$, right? The waitress has 2$, right? 27$ + 2$ is 29$, right? :doh: ?????? Where is the missing DOLLAR ??????? :doh: :confused: Nice Weekend!!!

    Olli "Ooooooh, they have the internet on computers now!"
    Homer Simpson
    :beer: + :java: = NULL :=> X|

    A Offline
    A Offline
    Antony M Kancidrowski
    wrote on last edited by
    #9

    I won't be leaving a tip at that restaurant then! ;P Ant. I'm hard, yet soft.
    I'm coloured, yet clear.
    I'm fruity and sweet.
    I'm jelly, what am I? Muse on it further, I shall return!
    - David Williams (Little Britain)

    1 Reply Last reply
    0
    • O Olli

      OK, i have another stupid riddle for friday.... Three guys are in a restaurant, and they think they should order something for three. Everybody gives 10$, and they call the waitress. The waitress takes the 30$ and goes to the kitchen to order a meal for 30$. Because the cook knows the three guys, he tells the waitress to give them 5$ back. She walks back to the table with the 5$, and because 5$ is not really good to divide by three, the guys tell her only to give 1$ back to each and keep 2$ as tip. And here's the riddle: Everybody has paid 10$ and got 1$ back, that makes 9$, right? 3x9$ is 27$, right? The waitress has 2$, right? 27$ + 2$ is 29$, right? :doh: ?????? Where is the missing DOLLAR ??????? :doh: :confused: Nice Weekend!!!

      Olli "Ooooooh, they have the internet on computers now!"
      Homer Simpson
      :beer: + :java: = NULL :=> X|

      K Offline
      K Offline
      KaRl
      wrote on last edited by
      #10

      Olli wrote: ?????? Where is the missing DOLLAR ??????? I'm surprized nobody blamed taxes :rolleyes:


      Собой остаться дольше...

      A 1 Reply Last reply
      0
      • O Olli

        OK, i have another stupid riddle for friday.... Three guys are in a restaurant, and they think they should order something for three. Everybody gives 10$, and they call the waitress. The waitress takes the 30$ and goes to the kitchen to order a meal for 30$. Because the cook knows the three guys, he tells the waitress to give them 5$ back. She walks back to the table with the 5$, and because 5$ is not really good to divide by three, the guys tell her only to give 1$ back to each and keep 2$ as tip. And here's the riddle: Everybody has paid 10$ and got 1$ back, that makes 9$, right? 3x9$ is 27$, right? The waitress has 2$, right? 27$ + 2$ is 29$, right? :doh: ?????? Where is the missing DOLLAR ??????? :doh: :confused: Nice Weekend!!!

        Olli "Ooooooh, they have the internet on computers now!"
        Homer Simpson
        :beer: + :java: = NULL :=> X|

        A Offline
        A Offline
        Antony M Kancidrowski
        wrote on last edited by
        #11

        Since you started with a maths puzzle here is another. How can this be true? let a = x a+a = a+x [add a to both sides] 2a = a+x [a+a = 2a] 2a-2x = a+x-2x [subtract 2x from both sides] 2(a-x) = a+x-2x [2a-2x = 2(a-x)] 2(a-x) = a-x [x-2x = -x] 2 = 1 [divide both sides by a-x] There is a catch!! See if you can work it out. Ant. I'm hard, yet soft.
        I'm coloured, yet clear.
        I'm fruity and sweet.
        I'm jelly, what am I? Muse on it further, I shall return!
        - David Williams (Little Britain)

        J D W 3 Replies Last reply
        0
        • O Olli

          OK, i have another stupid riddle for friday.... Three guys are in a restaurant, and they think they should order something for three. Everybody gives 10$, and they call the waitress. The waitress takes the 30$ and goes to the kitchen to order a meal for 30$. Because the cook knows the three guys, he tells the waitress to give them 5$ back. She walks back to the table with the 5$, and because 5$ is not really good to divide by three, the guys tell her only to give 1$ back to each and keep 2$ as tip. And here's the riddle: Everybody has paid 10$ and got 1$ back, that makes 9$, right? 3x9$ is 27$, right? The waitress has 2$, right? 27$ + 2$ is 29$, right? :doh: ?????? Where is the missing DOLLAR ??????? :doh: :confused: Nice Weekend!!!

          Olli "Ooooooh, they have the internet on computers now!"
          Homer Simpson
          :beer: + :java: = NULL :=> X|

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #12

          This is a different twist on an older riddle.


          "When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen

          1 Reply Last reply
          0
          • A Antony M Kancidrowski

            Since you started with a maths puzzle here is another. How can this be true? let a = x a+a = a+x [add a to both sides] 2a = a+x [a+a = 2a] 2a-2x = a+x-2x [subtract 2x from both sides] 2(a-x) = a+x-2x [2a-2x = 2(a-x)] 2(a-x) = a-x [x-2x = -x] 2 = 1 [divide both sides by a-x] There is a catch!! See if you can work it out. Ant. I'm hard, yet soft.
            I'm coloured, yet clear.
            I'm fruity and sweet.
            I'm jelly, what am I? Muse on it further, I shall return!
            - David Williams (Little Britain)

            J Offline
            J Offline
            Johan Rosengren
            wrote on last edited by
            #13

            Antony M Kancidrowski wrote: 2 = 1 [divide both sides by a-x] a = x a - x = 0 division by zero...

            A 1 Reply Last reply
            0
            • J Johan Rosengren

              Antony M Kancidrowski wrote: 2 = 1 [divide both sides by a-x] a = x a - x = 0 division by zero...

              A Offline
              A Offline
              Antony M Kancidrowski
              wrote on last edited by
              #14

              Quite. It is an oldie but I like it :-D Ant. I'm hard, yet soft.
              I'm coloured, yet clear.
              I'm fruity and sweet.
              I'm jelly, what am I? Muse on it further, I shall return!
              - David Williams (Little Britain)

              J 1 Reply Last reply
              0
              • A Antony M Kancidrowski

                Quite. It is an oldie but I like it :-D Ant. I'm hard, yet soft.
                I'm coloured, yet clear.
                I'm fruity and sweet.
                I'm jelly, what am I? Muse on it further, I shall return!
                - David Williams (Little Britain)

                J Offline
                J Offline
                Johan Rosengren
                wrote on last edited by
                #15

                The universe would be a much more interesting place if division by zero was allowed :-)

                1 Reply Last reply
                0
                • A Antony M Kancidrowski

                  Since you started with a maths puzzle here is another. How can this be true? let a = x a+a = a+x [add a to both sides] 2a = a+x [a+a = 2a] 2a-2x = a+x-2x [subtract 2x from both sides] 2(a-x) = a+x-2x [2a-2x = 2(a-x)] 2(a-x) = a-x [x-2x = -x] 2 = 1 [divide both sides by a-x] There is a catch!! See if you can work it out. Ant. I'm hard, yet soft.
                  I'm coloured, yet clear.
                  I'm fruity and sweet.
                  I'm jelly, what am I? Muse on it further, I shall return!
                  - David Williams (Little Britain)

                  D Offline
                  D Offline
                  dacris
                  wrote on last edited by
                  #16

                  You cannot divide both sides by a-x because a-x = a-a = 0. Can't divide by zero. Every programmer knows that. ;P I have a symbiotic relationship with my computer.

                  J 1 Reply Last reply
                  0
                  • O Olli

                    OK, i have another stupid riddle for friday.... Three guys are in a restaurant, and they think they should order something for three. Everybody gives 10$, and they call the waitress. The waitress takes the 30$ and goes to the kitchen to order a meal for 30$. Because the cook knows the three guys, he tells the waitress to give them 5$ back. She walks back to the table with the 5$, and because 5$ is not really good to divide by three, the guys tell her only to give 1$ back to each and keep 2$ as tip. And here's the riddle: Everybody has paid 10$ and got 1$ back, that makes 9$, right? 3x9$ is 27$, right? The waitress has 2$, right? 27$ + 2$ is 29$, right? :doh: ?????? Where is the missing DOLLAR ??????? :doh: :confused: Nice Weekend!!!

                    Olli "Ooooooh, they have the internet on computers now!"
                    Homer Simpson
                    :beer: + :java: = NULL :=> X|

                    B Offline
                    B Offline
                    braber
                    wrote on last edited by
                    #17

                    The other dollor went to tax!!!! :)

                    1 Reply Last reply
                    0
                    • O Olli

                      OK, i have another stupid riddle for friday.... Three guys are in a restaurant, and they think they should order something for three. Everybody gives 10$, and they call the waitress. The waitress takes the 30$ and goes to the kitchen to order a meal for 30$. Because the cook knows the three guys, he tells the waitress to give them 5$ back. She walks back to the table with the 5$, and because 5$ is not really good to divide by three, the guys tell her only to give 1$ back to each and keep 2$ as tip. And here's the riddle: Everybody has paid 10$ and got 1$ back, that makes 9$, right? 3x9$ is 27$, right? The waitress has 2$, right? 27$ + 2$ is 29$, right? :doh: ?????? Where is the missing DOLLAR ??????? :doh: :confused: Nice Weekend!!!

                      Olli "Ooooooh, they have the internet on computers now!"
                      Homer Simpson
                      :beer: + :java: = NULL :=> X|

                      B Offline
                      B Offline
                      braber
                      wrote on last edited by
                      #18

                      30$ total 25$ went to meal 5$ Back 2$ of the 5$ went to waitress... $28 was spent by the entire crew 28\3 $9.33 9.33x3+2 = $30 Sales tax would have been funnier!!! Heeler

                      1 Reply Last reply
                      0
                      • K KaRl

                        Olli wrote: ?????? Where is the missing DOLLAR ??????? I'm surprized nobody blamed taxes :rolleyes:


                        Собой остаться дольше...

                        A Offline
                        A Offline
                        Arjan Einbu
                        wrote on last edited by
                        #19

                        KaЯl wrote: I'm surprized nobody blamed taxes With only 3% missing? Not here...


                        Have a look at my latest article about Object Prevalence with Bamboo Prevalence.

                        1 Reply Last reply
                        0
                        • O Olli

                          OK, i have another stupid riddle for friday.... Three guys are in a restaurant, and they think they should order something for three. Everybody gives 10$, and they call the waitress. The waitress takes the 30$ and goes to the kitchen to order a meal for 30$. Because the cook knows the three guys, he tells the waitress to give them 5$ back. She walks back to the table with the 5$, and because 5$ is not really good to divide by three, the guys tell her only to give 1$ back to each and keep 2$ as tip. And here's the riddle: Everybody has paid 10$ and got 1$ back, that makes 9$, right? 3x9$ is 27$, right? The waitress has 2$, right? 27$ + 2$ is 29$, right? :doh: ?????? Where is the missing DOLLAR ??????? :doh: :confused: Nice Weekend!!!

                          Olli "Ooooooh, they have the internet on computers now!"
                          Homer Simpson
                          :beer: + :java: = NULL :=> X|

                          M Offline
                          M Offline
                          Marc Clifton
                          wrote on last edited by
                          #20

                          The logic flaw is in the very first statement. Olli wrote: Everybody has paid 10$ and got 1$ back, that makes 9$, right? Everyone paid $10 and got back 5/3 of a dollar (5 returned by the cook divided by the 3 people). They then each contributed 2/3 of a dollar to the tip (2/3 * 3 = $2) 5/3 - 2/3 = 3/3, leaving them with with a dollar each. Marc Microsoft MVP, Visual C# MyXaml MyXaml Blog Hunt The Wumpus RealDevs.Net

                          1 Reply Last reply
                          0
                          • A Antony M Kancidrowski

                            Since you started with a maths puzzle here is another. How can this be true? let a = x a+a = a+x [add a to both sides] 2a = a+x [a+a = 2a] 2a-2x = a+x-2x [subtract 2x from both sides] 2(a-x) = a+x-2x [2a-2x = 2(a-x)] 2(a-x) = a-x [x-2x = -x] 2 = 1 [divide both sides by a-x] There is a catch!! See if you can work it out. Ant. I'm hard, yet soft.
                            I'm coloured, yet clear.
                            I'm fruity and sweet.
                            I'm jelly, what am I? Muse on it further, I shall return!
                            - David Williams (Little Britain)

                            W Offline
                            W Offline
                            wrykyn
                            wrote on last edited by
                            #21

                            Dividing both sides by zero. I can use the same thing to prove that 1 hour is equal to one minute. See if you can do that ? :) "One of the Georges," said Psmith, "I forget which, once said that a certain number of hours' sleep a day--I cannot recall for the moment how many--made a man something, which for the time being has slipped my memory."

                            1 Reply Last reply
                            0
                            • D dacris

                              You cannot divide both sides by a-x because a-x = a-a = 0. Can't divide by zero. Every programmer knows that. ;P I have a symbiotic relationship with my computer.

                              J Offline
                              J Offline
                              Jerry Hammond
                              wrote on last edited by
                              #22

                              dacris wrote: You cannot divide both sides by a-x because a-x = a-a = 0. Can't divide by zero. Every programmer knows that. Duh! Wanna know why I'm still a hobbiest?

                              The only way of discovering the limits of the possible is to venture a little past them into the impossible.--Arthur C. Clark

                              Toasty0.com

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups