Advertisement
vladovip

JS - Biggest of 3 Numbers

Dec 31st, 2021
1,032
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function solve (num1, num2, num3) {
  2.    
  3.     let highestValue = Math.max(num1, num2, num3);
  4.     console.log(highestValue);
  5.    
  6. }
  7.  
  8.  
  9. /*
  10.  
  11. Math.max(0, 150, 30, 20, -8, -200); */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement