// Challenge: Write a function splitBill() that lets you know how much // you need to pay to split any bill between you and your friends. // It should return a message with a number.
// Write your code below:
// Testing your solution console.log(splitBill(10, 2)) console.log(splitBill(16, 4)) console.log(splitBill(350, 9))
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Challenge: Write a function splitBill() that lets you know how much
// you need to pay to split any bill between you and your friends.