subject

I was wondering if i could get the answers and code for these questions

1. Given the following code, write statements that will assign the values requested:

var numbers = new Array(2, 3, 5, 7, 11);
Create a variable named adding that uses elements in the numbers array such that adding = 19.
Create a variable named divide that uses elements in the numbers array such that divide = 9.
2. Write JavaScript code to create an array named usernames[] that has 100 elements. Each element contains usernames for a school that assigns usernames to students. Each username concatenates the string "college" with a number. The numbers should start at 300 and end at 399.
3. Given an array named items[] that holds the names of various items sold in a jewelry business. List three arrays that, as parallel arrays, will hold appropriate data to correspond with each item in items[] .
23 Given an array named snow[] that contains yearly snowfall amounts in inches in a certain area over a period of 10 years from 2000 to 2009. Use a loop to display these amounts. The output should be on 10 lines, each line of the following form:

Snowfall for the year is YY inches
where is the year and YY is the amount in inches.
Given: var snow = new Array(6, 8, 8, 12, 21, 15, 7, 8, 10, 15);
24 Add code to Exercise 23 to find and display the years with the highest and lowest snowfall amounts.
26 Add code to Exercise 25 to find the number of years that snowfall was above the average.
28 Add code to the addRings() function of Example 8.14 in the chapter to check if a value Jackie wants to add to her inventory is already part of the inventory.
30 Given the following JavaScript code, what are the values of the eight elements in the numbers[] array?

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 13:30
Use the keyword strategy to remember the meaning of the following word. the meaning for the word has been provided. write your keyword and describe the picture you would create in your mind. centurion: a commander in the army of ancient rome. keyword: picture:
Answers: 2
question
Computers and Technology, 22.06.2019 13:30
Jane’s team is using the v-shaped model for their project. during the high-level design phase of the project, testers perform integration testing. what is the purpose of an integration test plan in the v-model of development? a. checks if the team has gathered all the requirements b. checks how the product interacts with external systems c. checks the flow of data in internal modules d. checks how the product works from the client side
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
What are some ways to use a range name in a formula? check all that apply. in the defined names group, click use in formula, and then select the desired name. begin typing the name in the formula, select a name from the autocomplete list, and use the arrow keys and tab key to enter the name in the formula. begin typing the formula, and then click and drag with the mouse to select the cells to include in the formula. right-click one of the cells in the range. click formula options, and use the dialog box to add the name.
Answers: 1
question
Computers and Technology, 23.06.2019 11:30
The most accurate readings that you can take on an analog vom are when the meter's pointer is at the a. center scale. b. extreme right. c. near right. d. extreme left.
Answers: 1
You know the right answer?
I was wondering if i could get the answers and code for these questions

1. Given the fol...
Questions
question
Mathematics, 09.08.2021 20:40
question
Social Studies, 09.08.2021 20:40
question
Social Studies, 09.08.2021 20:40
question
History, 09.08.2021 20:40
question
Chemistry, 09.08.2021 20:40
question
Mathematics, 09.08.2021 20:40
question
Computers and Technology, 09.08.2021 20:40
Questions on the website: 13722367