posted 11 years ago
Hello! I've got an assignment to take this code (done for a previous assignment, you insert a starting number, upper bound, and step size, and it provides a list of numbers) and put it into a loot that at the end asks you if you'd like to do it again, and entering a y starts over (obviously) and n ends the program. I have absolutely no idea how to make y continue it. I understand that something boolean would make the most sense, but I'm only about a week and a half into the course so I really have no idea other than that.( Also, it is supposed to prompt an error message if the upper bound is lower than the starting number). Here is the code: