function count_sum(quanity, price){ if(quanity > 0 & price >0 ){ return (quanity * price); } else{ return 0; } } module.exports = count_sum;