data = Customerdata;
CustomerNumber = input('Enter your Number');
if verifyCustomerNumber (CustomerNumber,data)
disp('True')
m = input('choose: 1:Option 1 2:Option2 3:Option3');
switch m
case 1
case 2
case 3
end
else
disp('False')
CustomerNumber = input("Please enter a valid number");
end
function isValid = verifyCustomerNumber(CustomerNumber,data)
isValid = ismember (CustomerNumber, data{:,"CustomerNumber"});
This is part of my code to verify the customer number, just I would like to know to can I display this menu after entering a wrong number then right number and how to display it at the end of each option. Thanks