Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. //Challenge 0
  2. // func takes no params and returns "this is a fun function"
  3. func() == "this is a fun function"
  4.  
  5. //Challenge 1
  6. // func takes one parameter and returns 1 less than it's value
  7. func(25) == 24
  8.  
  9. //Challenge 2
  10. // func takes two params and returns the sum of the two values
  11. func(23, 27) == 50
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement