Home Forums C Programming C- help with Clear screen

Viewing 4 reply threads
  • Author
    Posts
    • #2145
      RandolpNolen
      Participant

      hey guys

      Heres my code>>>>

    • #3464
      GWILouisaxwzkla
      Participant

      What I might do is put a marker in between each question in the file so that one can be read at a time , like:

      A for loop is designed to

      a.)run only if the condition is false
      b.)run a set number of times
      c.)run at least once
      d.)run when there are no conditions

      @

      A while loop is designed to

      a.)run only if the condition is true
      b.) run a set number of times
      c.)run at least once
      d.)run when there are no conditions

      so that you can read up to the ‘@’ character , stop and get the answer and then continue. You could make the while loop read one word at a time ( stopping when you read ‘@’ ) and then get the answer.

    • #3465
      RandolpNolen
      Participant

      @dman wrote:

      What I might do is put a marker in between each question in the file so that one can be read at a time , like:

      A for loop is designed to

      a.)run only if the condition is false
      b.)run a set number of times
      c.)run at least once
      d.)run when there are no conditions

      @

      A while loop is designed to

      a.)run only if the condition is true
      b.) run a set number of times
      c.)run at least once
      d.)run when there are no conditions

      so that you can read up to the ‘@’ character , stop and get the answer and then continue. You could make the while loop read one word at a time ( stopping when you read ‘@’ ) and then get the answer.

      yeah but how to put it into coding??

    • #3466
      GWILouisaxwzkla
      Participant

      This version works with this file format:

      A for loop is designed to

      a.)run only if the condition is false
      b.)run a set number of times
      c.)run at least once
      d.)run when there are no conditions
      @
      A while loop is designed to

      a.)run only if the condition is true
      b.) run a set number of times
      c.)run at least once
      d.)run when there are no conditions
      @

    • #3467
      RandolpNolen
      Participant

      yeah Tnx :P

Viewing 4 reply threads
  • The forum ‘C Programming’ is closed to new topics and replies.