function velocityTable
fprintf('\n\nVELOCITY CONVERSION\n');
disp('Distance Abbreviations: ft=feet, rd=rods, fr=furlongs, m_=meter, in=inches, mi=miles');
disp('Time Abbreviations: h=hours, m=minutes, s=seconds, f=fortnights, d=days');
disp(' ')
fprintf('%10s %8s%4s%6s%3s\t%9s%4s \n','Velocity','Distance','Per','Time','=','Converted','m/s');
fprintf('%10s %8s%4s%6s%3s\t%9s%4s \n','--------','--------','---','----','-',',--------','---');
formatFloat='%10.3f %8s%4s%6s%3s\t%9.3f%4s \n';
velocity=1E5; distanceUnit='ft'; timeUnit='d';
disp('Students -- This function WILL NOT WORK until you write anyToMeters and anyToSeconds')
disp('But you can hack in something temporarily to see how it will work')
vOutput=velocity*anyToMeters(1,distanceUnit)/anyToSeconds(1,timeUnit);
fprintf(formatFloat,velocity,distanceUnit,'per',timeUnit,' =',vOutput,'m/s');
velocity=12345; distanceUnit='in'; timeUnit='s';
vOutput=velocity*anyToMeters(1,distanceUnit)/anyToSeconds(1,timeUnit);
fprintf(formatFloat,velocity,distanceUnit,'per',timeUnit,' =',vOutput,'m/s');
velocity=1000; distanceUnit='fr'; timeUnit='f';
vOutput=velocity*anyToMeters(1,distanceUnit)/anyToSeconds(1,timeUnit);
fprintf(formatFloat,velocity,distanceUnit,'per',timeUnit,' =',vOutput,'m/s');
velocity=100*pi; distanceUnit='rd'; timeUnit='m';
vOutput=velocity*anyToMeters(1,distanceUnit)/anyToSeconds(1,timeUnit);
fprintf(formatFloat,velocity,distanceUnit,'per',timeUnit,' =',vOutput,'m/s');
velocity=60; distanceUnit='mi'; timeUnit='h';
vOutput=velocity*anyToMeters(1,distanceUnit)/anyToSeconds(1,timeUnit);
fprintf(formatFloat,velocity,distanceUnit,'per',timeUnit,' =',vOutput,'m/s');