It's fine now, I didn't account for the fact that I used letters instead of numbers, so:
question = input('say friend and enter ', 's'); str = 'correct'; message = [str]; if (quesition ~= 'friend'); disp(message) end
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!