CBSE BOARD X, asked by gcbag5333, 2 days ago

you cannot enter and compare values by user

Answers

Answered by jdkarthikkunja
0

Explanation:

Am having a problem getting my program to check the input previous and compare it so the user cannot duplicate an order number. Right now the program will run all the way through and look the way I want, but it accepts duplicate order numbers while I would like it to inform the user and ask them to reenter. The problem seems to be that my check[y] array does not contain any value when I compare it. How do I get this array to contain the previously entered order numbers so it will display the error message.

Similar questions