JavaScript Lab Project 12
Write a JavaScript code: Program 1 To pass the value as argument l,b,h and calculate volume of a box in function. To pass the value as argument l,b and calculate area of base of that box in function. Make a area button to display area of base result and a volume button to display volume of a box. Make a all button if we click on that it should give output in proper format. (Area is = , Volume is = Output should come in Alert box, Bellow the button, Console area. Program 2 In HTML window area should be 4 buttons. (Add, Subtract, Multiply, All) User should enter the value. Below the button Answer should come as: Result(Add) = Answer. There should be three different functions. There should be only one user input code(Only two lines in whole program) for data entry While clicking 'All' button there should be answer of each calculation result. Program 3 There shou...