about | help | code help+videos | done | prefs |
getYourWeightPriceInGold
Calculate your weight in gold. This method accepts your weight in pounds and returns the dollar amount in the price of gold. Currently, gold is 1800 dollars per ounce and there are 16 ounces in one pound. getYourWeightPriceInGold(1) → 28800 getYourWeightPriceInGold(150) → 4320000 getYourWeightPriceInGold(90) → 2592000 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy