IF-Elese Programming in Java Script

1.Write A Programme to accept any number and checkthe number is positive or negative. 2.Write A Programme to accept any number and checkthe number is odd or even.
3.Write A Programme to accept any year and check the year is leap year or not.
4.Write A Programme to accept two numbers and find the largest number between them.
5.Write A Programme to accept three numbers and find the largest number between them.
6.Write A Programme to accept any number and check the number is BUZZ or not.
7.Write A Programme to accept any character and check the character is Upper Case,Lower Case,Digit,Speacial Symbol or not.
8.Write A Programme to accept the basic salary of an employee and check the salary is greater than 20000 or not.If the salary is greater than 20000 then find
HRA=20% of Basic Salary
DA=15% of Basic Salary
Other Wise
HRA=30% of Basic Salary
DA=25% of Basic Salary

9.Write A Programme to accept three angles of a triangle and check the triangle is valid or not.The triangle is valid if the total of three angles=180 degrees.
10.Write A Programme to accept three angle of a triangle and check the trianle is isosceles,equilateral,scalene.
11.Write A Programme to accept marks of any subject & find their grade from the given condition: