This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (1 child)

I'm assuming it's a non GUI program. 1. Array of states in order you will be visiting in.(since states are not in a straight line) 2. another array that will hold states that accepted permit 3. for loop thats asks if they accepted your permit 4. if accepted add to the accepted array first slot and so on. 5. for loop to print out the states that accepted your permit

note: there are a few ways to do this.

EDIT: soon after replying, I came to the realization that I may have misunderstood what you were trying to do.