This preview shows page 1. Sign up to view the full content.
Unformatted text preview: max = 14; min = 1; persistent cdnum; p if isempty(cdnum) cdnum = 1; end if(cdnum > 3) cdnum = 1; end tracks = randint(1,1,[min,max]); fprintf('There are %d tracks on CD %d.\n', tracks, cdnum) cdnum = cdnum + 1;...
View Full Document
This note was uploaded on 07/19/2010 for the course EK 211 taught by Professor Attaway during the Spring '10 term at BU.
- Spring '10