best way to know if the information is added successfully ?

hi everyone ...
I have to write a bool function for my project, which prompt the user to add some information in tow-dimensional array then I should check if the information is added successfully and return true if yes and false if no ...
Im ok with adding information but what should I really do to know if the information is added successfully ???....
How can we answer your question if we do no know what is the condition of the successful adding of information?!!!
yes I dont know what is the appropriate condition for this case ...
it says just "if the information is added successfully return ture if no return false"...
should I just prompt the user "if information added successfully enter 1 if no 0" ..!!! :/
its very general there is no a certain condition....
Ask the question to the author of the assignment.
if the data is correct, meaning a number instead of a letter, and you can read it from the array, and it matches what was entered, and then it was added correctly.
Topic archived. No new replies allowed.