practice_test1_1 - case {'B', 'C'} performance = disp('Ok...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
% 3/1/11 % translating for/ while loop to switch statement % assume data needed has been received and entered % switch grade case 'A' performance = disp('Great Job!');
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: case {'B', 'C'} performance = disp('Ok Job'); case {'D', 'F'} performance = disp('Bad Job'); end disp(performance)...
View Full Document

Ask a homework question - tutors are online