I am trying to have numberous loops in my program but the user must input which to use for example A would start loop 1 while B would start loop 2. How can I fix this? I will not enter my entire code since this is a homework assignment I don't want my entire code displayed for cheating purposes.
disp('Below please input one of the choices listed')
Method = input('Please input your choice: ')
if Method == A
Days = Data(:,1)
It keeps saying A as the input is not a variable.
Best Answer