+ Reply to Thread
Results 1 to 2 of 2

Tricky Question based on logic

  1. #1
    Registered User
    Join Date
    09-09-2015
    Location
    India
    MS-Off Ver
    2010
    Posts
    65

    Tricky Question based on logic

    Hi Gurus and Experts,

    Currently, i am working on one tricky question.

    Question is like this
    'N' no. of boys stand in a circle. Let's name them 1 to 'N'.
    No.1 kick the boy next to him ( no. 2) with shoe and gives the shoe to the following boy (no. 3). All of them continue to do the same thing around the circle, round and round, until only 1 boy survives.

    Which number survives in the last?


    i am trying to solve this question using VBA.

    Any suggestion, how to solve this question.


    Regards
    Ramandeep Singh

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Tricky Question based on logic

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem - not what you think the answer might be. (think google search terms?). Once you have done this please send me a PM and I will remove this request. (Also, include a link to your thread - copy from the address bar)

    Many members search our previous posts, and thread titles play a big part of the search. I doubt anybody would do a search based on your title?

    To change a Title on your post, click EDIT POST then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (note: this change is not optional )
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Quite a tricky SUM question
    By lewgill in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 05-03-2013, 01:25 PM
  2. Tricky PTO tracker question
    By eja231 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-03-2013, 11:54 AM
  3. [SOLVED] Aray_Countif tricky Question
    By aborg88 in forum Excel General
    Replies: 4
    Last Post: 07-17-2012, 10:32 AM
  4. Tricky Sorting Question
    By wilson32294 in forum Excel General
    Replies: 3
    Last Post: 05-19-2011, 02:48 PM
  5. tricky array question
    By pete_22 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-22-2007, 02:29 PM
  6. [SOLVED] A tricky format question
    By Digital2k in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-28-2006, 03:10 AM
  7. tricky sorting question
    By RobR in forum Excel General
    Replies: 3
    Last Post: 01-19-2006, 09:40 AM
  8. [SOLVED] New guy with a tricky question
    By Arian Goodwin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-10-2005, 11:50 AM

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1