0% found this document useful (0 votes)
17 views2 pages

Grade Description: E Excellent

The document outlines 11 JavaScript programming problems ranging from basic math and logic problems to more complex conditional statements and string manipulation. The problems include checking if two numbers are equal, determining if a number is even or odd, positive or negative, or if a year is a leap year. Additional problems calculate height in meters from centimeters, find the largest of three numbers, calculate grade percentages and determine temperature descriptions based on Celsius values.

Uploaded by

Ritu Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views2 pages

Grade Description: E Excellent

The document outlines 11 JavaScript programming problems ranging from basic math and logic problems to more complex conditional statements and string manipulation. The problems include checking if two numbers are equal, determining if a number is even or odd, positive or negative, or if a year is a leap year. Additional problems calculate height in meters from centimeters, find the largest of three numbers, calculate grade percentages and determine temperature descriptions based on Celsius values.

Uploaded by

Ritu Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

1. Write a JAVASCRIPT program to accept two integers and check whether they are equal or not.

2. Write a JAVASCRIPT program to check whether a given number is even or odd.

3. Write a JAVASCRIPT program to check whether a given number is positive or negative

4. Write a JAVASCRIPT program to find whether a given year is a leap year or not.

5. Write a JAVASCRIPT program to read the age of a candidate and determine whether it is eligible
for casting his/her own vote.

6. Write a JAVASCRIPT program to accept the height of a person in centimeter and calculate height
in meter.

7. Write a JAVASCRIPT program to find the largest of three numbers.

8. Write a JavaScript program to read roll no, name and marks of three subjects and calculate the
total, percentage and division.

9. Write a JavaScript program to read temperature in centigrade and display a suitable message
according to temperature state below

Temp < 0 then Freezing weather


Temp 0-10 then Very Cold weather
Temp 10-20 then Cold weather
Temp 20-30 then Normal in Temp
Temp 30-40 then Its Hot
Temp >=40 then Its Very Hot

10. Write a program in JavaScript to read any Month Number in integer and display Month name in
the word.

11. Write a program in JavaScript to accept a grade and declare the equivalent description.

Grade Description

E Excellent
V Very Good

G Good

A Average

F Fail

You might also like