Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.15 KB | None | 0 0
  1. static int HowMuch(int people, string entity)
  2. {
  3. if (entity == "bus")
  4. {
  5. ...
  6. }
  7. if (entity == "table")
  8. {
  9. ...
  10. }
  11. if (entity == "boat")
  12. {
  13. ...
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement