about | help | code help+videos | done | prefs |
getYourWeightPriceInGold
Calculate your weight in gold. This method acceptes 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(150) → 4320000 getYourWeightPriceInGold(90) → 2592000 getYourWeightPriceInGold(100) → 2880000 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 100
Copyright Nick Parlante 2017 - privacy