#Unit Conversion, fps to SI
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=2.54*x
print y;:print " cm"
goto Done
k02:
y=0.3048*x
print y;:print " meters"
goto Done
k03:
y=1.609344*x
print y;:print " km"
goto Done
k04:
y=28.349523*x
print y;:print " gm"
goto Done
k05:
y=0.45359237*x
print y;:print " kg"
goto Done
k06:
y=0.09290304*x
print y;:print " sq-meters"
goto Done
k07:
y=29.57353*x
print y;:print " cc"
goto Done
k08:
y=4.546*x
print y;:print " liters"
goto Done
k09:
y=0.1333*x
print y;:print " kp"
goto Done
k10:
y=(x-32)/1.8
print y;:print " C"
Done: