Better than a computer.

Discussion in 'The Cesspool' started by TheFrogger, Feb 14, 2019.

Thread Status:
Not open for further replies.
  1. TheFrogger Banned Valued Senior Member

    Messages:
    2,175
    • Please do not post meaningless nonsense on sciforums.
    The following may be a possible path.

    Code:
    For a=1 to 26
    
    For b=1 to 26
    
    Print c
    
    Next b
    
    Next a
    The former is a two-letter word, while the, "for" loops count through the letters of the alphabet.

    Due to the nesting of the loops, the first loops count through the twenty-six letters of the alphabet (26^letterposition) times. So then the words' position may be calculated as follows:

    (26^letterposition)+(26^letterposition)+letterposition.

    This, however, proves to be an inefficient code because the numbers involved are far too large. It is how the decimal system works though:

    (1×10^3)+(2×10^2)+(3×10)+4
     
  2. Guest Guest Advertisement



    to hide all adverts.
  3. James R Just this guy, you know? Staff Member

    Messages:
    39,421
    The content of this thread is a waste of space. Given the post immediately above this one, there's really little point of going on with it.

    Members should aim to post content that at least makes sense. Nonsense like this is just a troll-like time-waster.

    Thread closed.
     
  4. Guest Guest Advertisement



    to hide all adverts.
Thread Status:
Not open for further replies.

Share This Page