Alice Community  

Go Back   Alice Community > General Discussion > Questions and Comments

Reply
 
Thread Tools Display Modes
While loop
Old
Daniel8769
Junior Member
 
Status: Offline
Posts: 8
Join Date: Jul 2017
Location: Grand Prairie, Tx
Default While loop - 07-23-2017, 12:53 AM

Took me a while to figure out how this worked. I kept thinking that if yes=yes the loop would end if I inputted "No" at the prompt for Lab 2. I had to think the way the computer would see it in logic. I finally saw what yes had to equal to in order for a "no" answer to end the loop. I would elaborate more but I don't want to be accused again of cheating/collaborating with other students to get my work done.
   
Reply With Quote
Old
sptaylor17
Member
 
Status: Offline
Posts: 30
Join Date: Jul 2017
Default 07-24-2017, 01:33 AM

I hate that you are being put through unnecessary stress while balancing school and caring for a terminally ill parent. I'm praying for you and your dad, based on what you have shared on the first post.

I used the asked yes or no question function within and if/else statement not sure if this was the route we were suppose to take to complete the assignment. However, it did what the directions wanted us to do and the video continued to loop until the user stated no. I did all of this independently without the help of NONE of my classmates.
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.