subject
Engineering, 24.10.2019 03:20 jayzeptor

Write a program in javascript, that take numbers from 1….20 in an array. separate even and odd numbers by using conditional statement. figure # 01 is the output of this file on web browser. save this file with a4-01.html hint: you can use array, for loop, if-else condition 2. create a simple html form and accept the data and display the data through javascript. design the form as per figure #02, 03. mark the fields required so user cannot leave these fields blank. after clicking on submit button, data will be displayed on the same form as well as separate window using javascript.

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Aloaded platform of total mass 500 kg is supported by a dashpot and by a set of springs of effective stiffness 72 kn/m. it is observed that when the platform is depressed through a distance x = 12.5 cm below its equilibrium position and then released without any initial velocity; it reaches its equilibrium position in the shortest possible time without overshoot. find the position and velocity of the loaded platform 0.10 sec. after its release. if a further load of 400 kg is added to the platform, find, i) the frequency of damped vibrations, and i) the amplitude of vibration after 2 complete oscillations, given that the initial amplitude is 15 cm.
Answers: 1
question
Engineering, 04.07.2019 18:10
Acompressor receives the shaft work to decrease the pressure of the fluid. a)- true b)- false
Answers: 3
question
Engineering, 04.07.2019 18:10
An ideal otto cycle with air as the working fluid has a compression ratio of 8. the minimum and maximum temperatures in the cycle are 300 k and 1340 k. use constant specific heats at room temperature to determine (a) the amount of heat transferred to the air during the heat- addition kj/kg, (b) the thermal efficiency, and (c) the thermal efficiency of a carnot cycle ope limits. process, in rating between the same temperature
Answers: 2
question
Engineering, 04.07.2019 18:10
Aturning operation is performed with following conditions: rake angle of 12°, a feed of 0.35 mm/rev, and a depth of cut of 1.1 mm. the work piece is aluminum alloy 6061 with t6 heat treatment (a16061-t6). the resultant chip thickness was measured to be 1.0 mm. estimate the cutting force, fc. use shear stress of 207 mpa and coefficient of friction on the tool face of 0.6.
Answers: 1
You know the right answer?
Write a program in javascript, that take numbers from 1….20 in an array. separate even and odd numbe...
Questions
question
Health, 18.01.2020 23:31
question
Mathematics, 18.01.2020 23:31
question
Mathematics, 18.01.2020 23:31
question
Biology, 18.01.2020 23:31
Questions on the website: 13722360