Unformatted text preview: mode = 'Bicycle'; elseif (distance > 10) && (distance <= 30); mode = 'ride MARTA'; else mode = 'take a plane on Delta Airlines'; end end fprintf('%s, you have %.2f miles to go.\nYou should %s.\n'. .. , name, miles, mode) disp (mode) % added 2/15/2011 in class...
View Full Document
This note was uploaded on 05/01/2011 for the course HCSC 110 taught by Professor Amosjohnson during the Spring '11 term at Morehouse.
- Spring '11