Where is error? My program showed my only WYKRYTO, but I don't know what.
fprintf('\nWYKRYTO: ');if (kaszel == max([kaszel, smiech, krzyk, chrzakanie])) fprintf('kaszel'); elseif (smiech == max([kaszel, smiech, krzyk, chrzakanie])) fprintf('smiech'); elseif (krzyk == max([kaszel, smiech, krzyk, chrzakanie])) fprintf('krzyk'); elseif (chrzakanie == max([kaszel, smiech, krzyk, chrzakanie])) fprintf('chrzakanie'); end
Best Answer