1.
Write a Javascript program to print the numbers from 1 to 10 using a
"for" loop.
2. Write a Javascript program to find the sum of all even numbers between 1 and
100 using a "for" loop.
3. Write a Javascript program to find the sum of all odd numbers between 1 and
100 using a "for" loop.
4. Create a Javascript program to print the even numbers from 2 to 10 using a
"while" loop.
5. Write a Javascript program to calculate the sum of numbers from 1 to 10 using
a loop.
6. Create a Javascript program that prints the multiples of 3 from 3 to 30 using
a loop.
7. Create a Javascript program that calculates the product of numbers from 1 to
5 using a loop.
8. Write a Javascript program to print the numbers from 10 to 1 in descending
order using a loop.
9. Create a Javascript program that prints the first 10 odd numbers using a
"for" loop.
10. Create a Javascript program to find the largest among four numbers using
nested if-else statements.
11. Write a Javascript program that takes a number as input and prints whether it
is positive, negative, or zero
12. Create a Javascript program that takes a character as input and checks if it
is a vowel using a if conditional statements
13. Write a Javascript program that takes an age as input and determines if a
person is a child (age < 12), a teenager (age between 13 and 19), an adult (age
between 20 and 59), or a senior (age 60 and above).