Guest User

Untitled

a guest
Feb 16th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. def findNumPersons(n, b, m, r):
  2. money=b*m
  3. counter=b
  4. while money<n:
  5. money+=m*((100-r)/100)
  6. counter+=1
  7. return counter
Add Comment
Please, Sign In to add comment