Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function miningRig(input){
- let videocardprice = Number(input[0])
- let transition = Number(input[1])
- let currencyPrice = Number(input[2])
- let profit = Number(input[3])
- let priceForCards = videocardprice * 13;
- let transitionPrice = transition * 13;
- let totalMoney = priceForCards + transitionPrice + 1000;
- let profitForday = profit - currencyPrice
- let totalProfit = profitForday * 13;
- let totalDays = totalMoney / totalProfit
- console.log(totalMoney);
- console.log(Math.ceil(totalDays));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement