Thread: Looping questions

  1. #1
    Registered User
    Join Date
    Sep 2003
    Posts
    3

    Question Looping questions

    Q1. Can you perform repetition/looping using sequence only without the use of any looping structures? Under what conditions can this work?

    Q2. For each of the 3 looping structures, write the equivalent of each of the 3 structures using each of the other two looping structures for a total of 6 combinations.
    Last edited by Peyote; 09-15-2003 at 09:55 PM.

  2. #2
    Senior Member joshdick's Avatar
    Join Date
    Nov 2002
    Location
    Phildelphia, PA
    Posts
    1,146
    Did you honestly think you could just waltz into a forum for the first time and get other people to do your homework for you? Hmmm, let's see what's appropriate here. RTFM (or textbook), STFW, oh and STFU.
    FAQ

    "The computer programmer is a creator of universes for which he alone is responsible. Universes of virtually unlimited complexity can be created in the form of computer programs." -- Joseph Weizenbaum.

    "If you cannot grok the overall structure of a program while taking a shower, you are not ready to code it." -- Richard Pattis.

  3. #3
    Registered User axon's Avatar
    Join Date
    Feb 2003
    Posts
    2,572
    It's only week 4 and you already have problems?

    well here are the answers:

    A1. Check your book

    A2. Look in your copious notes and/or check A1

    axon

    some entropy with that sink? entropysink.com

    there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka

  4. #4
    Senior Member joshdick's Avatar
    Join Date
    Nov 2002
    Location
    Phildelphia, PA
    Posts
    1,146

    Re: Looping questions

    Originally posted by Peyote
    Q1. Can you perform repetition/looping using sequence only without the use of any looping structures? Under what conditions can this work?

    Q2. For each of the 3 looping structures, write the equivalent of each of the 3 structures using each of the other two looping structures for a total of 6 combinations.

    Last edited on...
    Oh, that's cute. He edited out the part about how he should've gotten the answer during the lecture in week four.

    Do your own goddamn homework, asshat.
    FAQ

    "The computer programmer is a creator of universes for which he alone is responsible. Universes of virtually unlimited complexity can be created in the form of computer programs." -- Joseph Weizenbaum.

    "If you cannot grok the overall structure of a program while taking a shower, you are not ready to code it." -- Richard Pattis.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A very long list of questions... maybe to long...
    By Ravens'sWrath in forum C Programming
    Replies: 16
    Last Post: 05-16-2007, 05:36 AM
  2. Looping questions
    By 1rwhites in forum C Programming
    Replies: 10
    Last Post: 10-13-2005, 07:31 PM
  3. Several Questions, main one is about protected memory
    By Tron 9000 in forum C Programming
    Replies: 3
    Last Post: 06-02-2005, 07:42 AM
  4. Trivial questions - what to do?
    By Aerie in forum A Brief History of Cprogramming.com
    Replies: 23
    Last Post: 12-26-2004, 09:44 AM
  5. questions questions questions.....
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 08-14-2001, 07:22 AM