0

Need help with a simple JS exercise

The excersice said. Imagine that you have got out with 4 friends. The total bill is $50 and to that you have to increase 10%. You want ti divide the total into 5. Now, they gave me all the program just to fill the gaps. module.exports = function restaurant Bill(bill) { //1. create a var named tax and give it the result by multiplying bill * 10% var tax /*your code here*/; //2.create a var named total and give it the result by bill + tax var total /*your code here*/; return /*your code here*/;

27th Mar 2018, 2:54 AM
Miriam Guzmam
Miriam Guzmam - avatar
1 Odpowiedź
- 1
Is correct that answerr
13th Apr 2018, 12:50 AM
Lestat Deutchlan
Lestat Deutchlan - avatar