I've to :
Write a program to store product codes in an array. Product codes have 6 characters and each code must be different from all the other codes. After the user enters a product code check that the code has not been used already, and output an appropriate message if it has.
I've got it half done but can't figure out the code to check that it's not been put in twice. When I enter in a code I have it listed in a list box. If you have any ideas please let me know. Only genuine answers please!
Thanks!
2007-05-12
09:13:14
·
1 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design