SHARE
TWEET

Untitled

a guest Oct 21st, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var INCHES_TO_CM = 2.54;
  2. var CM_TO_METERS = 0.01;
  3. var FEET_TO_INCHES = 12;
  4.  
  5. function start(){
  6.     convertHeightToMeters(6,4);
  7. }
  8. function convertHeightToMeters(first,second){
  9.     var meter1 = first * 12 *2.54 *0.01;
  10.     var meter2 = second *2.54 *0.01;
  11.     var meter3 = meter1 +
  12.     meter2;
  13.     var converted = meter3;
  14.     println(meter3);
  15.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top