This preview shows page 1. Sign up to view the full content.
Unformatted text preview: elseif (distance > 10) && (distance <= 30); mode = 'ride MARTA'; else distance > 30; mode = 'take a plane on Delta Airlines'; end fprintf('%s, you have %.2f miles to go.\nYou should %s.\n'. .. , name, miles, mode) flag = input('Do you want to do it again 0(no) 1(yes)? '); end e...
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