Question: Below I have two programs that I need help writing in javascript. Create a for loop that starts at 0 and increments by 2 until

Below I have two programs that I need help writing in javascript. Create a for loop that starts at 0 and increments by 2 until 10 and prints out every value Create a while loop that starts at 0 and increments by 10 until 100 and prints out every value Create a do-while loop that has a int that starts at 6 and increments by 6 until 36 and prints out every value Create a for loop that decrements by 1 starting at 100 and all the way down to 1 and print out every value Create a for loop that starts at 1 and ends at 100. Printing out every Even number like this- Even: 2 and every Odd number like this- Odd: 3

Create a int array with the numbers 1,3,5,7,9,10. Create a String array with the length 5. Using the array you made in number 1 add all the numbers together to get the sum of the array. Print the array you made in number 1. Make it print in one line and have a { in the front and a } in the end. Also have each number separated by a comma besides the last number. It should look like: {1,2,3,5,7,9,10}

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!