0% found this document useful (0 votes)
2 views1 page

Javascript Programs

The document outlines a series of event-driven JavaScript programs that perform various mathematical calculations and display results based on user input. Tasks include calculating the area of a circle, factorial of a number, area of a triangle, displaying even numbers within a range, and generating multiplication tables. Each program is designed to respond to user interactions, such as mouse movements or button clicks.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views1 page

Javascript Programs

The document outlines a series of event-driven JavaScript programs that perform various mathematical calculations and display results based on user input. Tasks include calculating the area of a circle, factorial of a number, area of a triangle, displaying even numbers within a range, and generating multiplication tables. Each program is designed to respond to user interactions, such as mouse movements or button clicks.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

JavaScript Program

1. Write event driven JavaScript program to display area of circle


accept radius from the user (Area=3.14*r*r).
2. Write an event driven JavaScript Program to display factorial of 5
when mouse is moved on the button.
3. Write event driven program in JavaSript to accept height and base
from the user and find area of triangle
(Area=1/2*base*height)
4. Write an event driven program to display all even numbers from 101
to 500.
5. Write an event driven JavaScript program to display square of
accepted number.
6. Write an event driven JavaScript program to accept 2 numbers and
display which number is greater.
7. Write JavaScript event driven program to display table of 3.
8. Write an event driven JavaScript program to display area of a
rectangle. Accept length and breadth from the user and find area of
rectangle(area=l*b).
9. Write an event driven JavaScript program to display all even
numbers from 50 to 100.
10. Write JavaScript event driven program to display double of accepted
number.
11. Write JavaScript event driven program to display table of 10.
12. Write JavaScript event driven program to display table of 7.
13. Write an event driven JavaScript program to display area of a circle.
Accept radius from the user(area=3.14*r*r).

You might also like