Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

halkazi

  • 3 years ago

I did the Exercise 2.10 OPT 1. Ideally, I wanted to use only one While loop. But I ended up using a While loop, as well as, an If statement. Is there a way to do it using only a while loop? The code is attached.

  • This Question is Closed
  1. halkazi
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

  2. snark
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    enter phrase while phrase != quit ( do stuff ) enter phrase

  3. halkazi
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Cool. That worked very well. Thanks.

  4. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy