Thread: Getting Loopy
View Single Post
Getting Loopy
Junior Member
Status: Offline
Posts: 10
Join Date: Dec 2017
Unhappy Getting Loopy - 12-20-2017, 11:57 AM

Lab 2 at first seemed to be pretty easy. I know with working with our coders at work we use a lot of loop statements. However I was stuck one little but huge part. My program was looping if the user selected Yes (which is what I wanted). However once the user selected No, it still looped! It was quite frustrating. I ran over the code 100 times and I knew I was missing something... That something was my While statement was set to True, basically true=false!

I felt dumb because I should of caught that in the beginning. Well going forward I will make sure my functions have a false statement to compare to so its not an infinite loop!
Reply With Quote