IF statement restarting when condition is true
18 views (last 30 days)
hello i make an IF statement:
d=input('Is this spur gear mounted between two bearing? (Y/N): ','s');
error('this program is not for you');
elseif d~='Y' | d~='N'
disp('you must use capital letters')
i would, if the second condition is true, to restart the code from
how can i do this?