Computer Science, asked by samarthnagala7, 7 months ago

Write a program in JavaScript to calculate area of a trapezium. [20]
(A= ½× (a+b) × h). Accept the value of parallel sides a, b and the height from the user using the prompt. Display the result on the html webpage. The result should be displayed in the following format.
The area of trapezium is : ------

Answers

Answered by ahervandan39
0

Answer:

Definition and Usage

Definition and UsageThe for statement creates a loop that is executed as long as a condition is true.

Definition and UsageThe for statement creates a loop that is executed as long as a condition is true.The loop will continue to run as long as the condition is true. It will only stop when the condition becomes false.

Definition and UsageThe for statement creates a loop that is executed as long as a condition is true.The loop will continue to run as long as the condition is true. It will only stop when the condition becomes false.JavaScript supports different kinds of loops:

Definition and UsageThe for statement creates a loop that is executed as long as a condition is true.The loop will continue to run as long as the condition is true. It will only stop when the condition becomes false.JavaScript supports different kinds of loops:for - loops through a block of code a number of times

Definition and UsageThe for statement creates a loop that is executed as long as a condition is true.The loop will continue to run as long as the condition is true. It will only stop when the condition becomes false.JavaScript supports different kinds of loops:for - loops through a block of code a number of timesfor/in - loops through the properties of an object

Definition and UsageThe for statement creates a loop that is executed as long as a condition is true.The loop will continue to run as long as the condition is true. It will only stop when the condition becomes false.JavaScript supports different kinds of loops:for - loops through a block of code a number of timesfor/in - loops through the properties of an objectfor/of - loops through the values of an iterable object

Definition and UsageThe for statement creates a loop that is executed as long as a condition is true.The loop will continue to run as long as the condition is true. It will only stop when the condition becomes false.JavaScript supports different kinds of loops:for - loops through a block of code a number of timesfor/in - loops through the properties of an objectfor/of - loops through the values of an iterable objectwhile - loops through a block of code while a specified condition is true

Definition and UsageThe for statement creates a loop that is executed as long as a condition is true.The loop will continue to run as long as the condition is true. It will only stop when the condition becomes false.JavaScript supports different kinds of loops:for - loops through a block of code a number of timesfor/in - loops through the properties of an objectfor/of - loops through the values of an iterable objectwhile - loops through a block of code while a specified condition is truedo/while - loops through a block of code once, and then repeats the loop while a specified condition is true

Answered by harinesakthivel57
0

please mark this answer as brainalist and follow me

Attachments:
Similar questions