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 ???....
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....
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.