I'm having a little trouble figuring something out. Below is the code for a function in program I am writing for a class. The purpose of this section is to select vehicle options. The problem I am trying to workout is located at the ** below. It is supposed to check the optionsflag array to see it has already been selected (later on in the code, after being selected, the optionsflag array is changed from 1, not selected, to 0, selected). But it is not running that part and the code is letting me chose the same option multiple times. I've included a for loop displaying the contents of the optionsflag array so you can see that it is in fact changing the flag is changing from 1 to 0. Thanks for the help.