I'm trying to make a value converter to use at work, and I can't seem to get the second part to work correctly. I'm trying to get the user, myself, to input a frequency then ouput the corresponding channel number. I'm not really sure what the problem is right now. I'm pretty stumped at this point. The first statement works in the second for loop, but I can't get anything after that to work. I've thrown in some couts to try to troubleshoot it without much luck.