Skip to content

Instantly share code, notes, and snippets.

@worldwayii
Created May 20, 2016 17:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save worldwayii/236bb7881fc858776fae17d061673fd9 to your computer and use it in GitHub Desktop.
Save worldwayii/236bb7881fc858776fae17d061673fd9 to your computer and use it in GitHub Desktop.
Start
1ft = 30 cm
input the feet you want to convert store as (n)ft
since 1ft = 30cm
then (n)ft = n * 30cm
so nft = n*30(cm)
Print n*30(cm)
End
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment