Question: Write JavaScript code that do the following: Ask user to insert 6 numbers using (prompt). . For each number, check if it is odd or

 Write JavaScript code that do the following: Ask user to insert

Write JavaScript code that do the following: Ask user to insert 6 numbers using (prompt). . For each number, check if it is odd or even. calculate the summation of odd numbers only. print the result of summation using alert. print each number as hl also print if it odd or even with red color. > a C:\Users\Administrator - X O More Forms * 5 is Odd number 4 is Even number 8 is Even number 3 is Odd number 1 is Odd number 9 is Odd number Message from webpage total Odd is 18 OK

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!