This preview shows page 1. Sign up to view the full content.
Unformatted text preview: mode = 'Bicycle'; elseif (distance > 10) && (distance <= 30); mode = 'ride MARTA'; else distance > 30; mode = 'take a plane on Delta Airlines'; end % disp (mode) % added 2/15/2011 in class fprintf('%s, you have %.2f miles to go.\nYou should %s.\n'. .. , name, miles, mode)...
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