Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script src="https://zero.p2p.shpp.me/console.js"></script>
- <script>
- function newFunction(one, two, three) {
- var sum = one + two + three;
- if(sum > 0 && sum < 100) {
- document.write("1")
- } else if(one == two && two == three && one == three) {
- document.write("-1")
- } else {
- document.write(Math.max(one,two,three))
- }
- }
- newFunction(110,600,50)
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement