#Unit Conversion, SI to fps

print "enter - 1(in<cm), 2(ft<m), 3(mi<km), 4(oz<gm), 5(lb<kg),"

Print "6(sqft<sqm), 7(oz<cc), 8(gal<li), 9(hg<kp), 10(F<C)."

input k

print "enter value to be converted ";: input x

if (k-1)=0 then goto k01

if (k-2)=0 then goto k02

if (k-3)=0 then goto k03

if (k-4)=0 then goto k04

if (k-5)=0 then goto k05

if (k-6)=0 then goto k06

if (k-7)=0 then goto k07

if (k-8)=0 then goto k08

if (k-9)=0 then goto k09

if (k-10)=0 then goto k10

k01:

y=x/2.54

print y;:print " in"

goto Done

k02:

y=x/0.3048

print y;:print " ft"

goto Done

k03:

y=x/1.609344

print y;:print " mi"

goto Done

k04:

y=x/28.349523

print y;:print " oz"

goto Done

k05:

y=x/0.45359237

print y;:print " lbs"

goto Done

k06:

y=x/0.09290304

print y;:print " sq-ft"

goto Done

k07:

y=x/29.57353

print y;:print " oz"

goto Done

k08:

y=x/4.546

print y;:print " gal"

goto Done

k09:

y=x/0.1333

print y;:print " hg"

goto Done

k10:

y=32+1.8*x

print y;:print " F"

Done: