Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function miningRig() {
- let videoCartPrice = Number(arguments[0]);
- let adapterPrice = Number(arguments[1]);
- let currentPrice = Number(arguments[2]);
- let days = Number(arguments[3])
- let profitCartForDay = Number(arguments[4]);
- totalCartPrice = videoCartPrice * 13;
- totalAdapterPrice = adapterPrice * 13;
- totalMoney = totalAdapterPrice + totalCartPrice + 1000;
- profitCartForDay = 1.80;
- totalCartProfit = 13 * profitCartForDay;
- days = totalMoney / totalCartProfit;
- console.log(`${totalMoney}`);
- console.log((Math.ceil)(days));
- }
- miningRig(700, 15, 0.20, 2);
Advertisement
Add Comment
Please, Sign In to add comment