Svitlana Suslenkova• 3,490
@SvitlanaSuslenkova
Posted
Hi, I checked it and got some problem. Put 1000 10% 2 people, got 50 and 600(should be 525); put 300 10% 3 people, got 10 and 130. It seems your function for total/person adds the wrong variable (it adds total tip instead of tip per person)
Hope you found this comment helpful :)
0