My program works correctly if the input entered matches the "product code" and the "color code" protocols provided in the program. But if the user enters the wrong number, the incorrect "Inventory code" is displayed. How can I get my program to "not display" an invalid code? According to my instructor, the only thing that should display if an incorrect code is entered is "Invalid input" and nothing else. The user will have to "Press any key to continue".
I hope I've explained the issue I'm having, and if not, please let me know. Any assistance would be appreciated...