I dont understand mega quiz question 14

This is a discussion on I dont understand mega quiz question 14 within the A Brief History of Cprogramming.com forums, part of the Community Boards category; It dont make no sense!!!...

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    140

    I dont understand mega quiz question 14

    It dont make no sense!!!

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    140

  3. #3
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459
    no, i think he meant to the ?uestion at hand... nevermind... y'know what? just post the ?uestion here with the possible answers... and we'll expn them...
    hasafraggin shizigishin oppashigger...

  4. #4
    Blank
    Join Date
    Aug 2001
    Posts
    1,034
    fn(7)
    fn(6) + 3
    (fn(3) + 2) + 3
    ((fn(2) + 3) + 2) + 3
    (((fn(1) + 1) + 3) + 2) + 3
    1 + 1 + 3 + 2 + 3 = 10

  5. #5
    Blank
    Join Date
    Aug 2001
    Posts
    1,034
    Which should be 11?
    That's funny I better check my work.

  6. #6
    Blank
    Join Date
    Aug 2001
    Posts
    1,034
    (((fn(1) + 1) + 3) + 2) + 3
    should be
    (((fn(1) + 2) + 3) + 2) + 3 and
    you will get 11

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. question about ifstreams
    By Amyaayaa in forum C++ Programming
    Replies: 6
    Last Post: 05-27-2008, 04:48 PM
  2. binary heap (build question)
    By axon in forum C++ Programming
    Replies: 1
    Last Post: 03-01-2004, 10:49 PM
  3. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 10:47 PM
  4. Quiz question
    By volk in forum C++ Programming
    Replies: 4
    Last Post: 03-18-2003, 04:51 PM
  5. opengl DC question
    By SAMSAM in forum Game Programming
    Replies: 6
    Last Post: 02-26-2003, 09:22 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21