Javascript (Exercice If Else)
Javascript (Exercice If Else)
Function `findLargest()` finds the largest between two number by using “>”
and “=” operator in JavaScript.
Exercice 2
Check if a triangle is equilateral, scalene, or isosceles
Function `findTriangleType()` finds the type of the triangle for given side
values by using “==” and “&&” operator in JavaScript.
Exercice 3
Exercice 4
Exercice 5
}
checkLeapYear(2012) //"Year 2012 is a leap year"
Exercice 6
9. Find the grade for input marks
Function `findGrade()` to find the grade of the student based on the input
marks.