Professional Documents
Culture Documents
MCO1
MCO1
Declare variables
select1, select2, inputa, kmt, kcm, kmm, mcm,
mmm, mtk, cmm, ckm, cmt, mmk, mmt, mmc
inputv, my, mf, mi, yf, yi, ym, fi, fm, fy, im, iy, cif
page 1
Input select1
End
Y select1=1 N
Input select2
English
N N N N
select2=1 select2=2 select2=3 select2=4 Print
mile yard feet inch “Invalid Input!”
Y Y Y Y
inputv inputv inputv inputv
my= im=
inputv*1760 yf= inputv*3 fi= inputv*12 inputv/63360
Convert value Convert value Convert value Convert value
call functions call functions call functions call functions
mf= yi= inputv*36 fm= iy= inputv/36
inputv*5280 inputv/5280
mi= ym=
fy= inputv/3 cif= inputv/3
inputv*63360 inputv/1760
Y
Input select2
N N N N
select2=1 select2=2 select2=3 Print
select2=4
km meter cm “Invalid Input!”
mm
Y Y Y Y
inputa inputa inputa inputa