Skip to content

Commit fa88817

Browse files
author
Vamsi Krishna
committed
To find max of 2 numbers
1 parent 979b2f0 commit fa88817

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎Maths/findMax.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
function findMax(num1, num2){
2+
return Math.max(num1, num2);
3+
}
4+
5+
console.log(findMax(100,10));

0 commit comments

Comments
 (0)