subject

3. A two-dimensional array has been defined to hold the quantity of each of 5 different healthy
snack products sold in a tuckshop during the past three months.
The array is declared as follows:
sales = [[0, 0, 0, 0, 0],
[0, 0, 0, 0, 0],
[0, 0, 0, 0, 0] ]
Indexing of the array starts at 0, so the sales of the first product in the second month is held
in sales[1][0].
(a) Write a statement to assign the value 13 to the fifth product in the third month.
[1]

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:50
Given int variables k and total that have already been declared, use a while loop to compute the sum of the squares of the first 50 counting numbers, and store this value in total. thus your code should put 11 + 22 + 33 + + 4949 + 50*50 into total. use no variables other than k and total.
Answers: 2
question
Computers and Technology, 23.06.2019 01:50
Create a class named majors that includes an enumeration for the six majors offered by a college as follows: acc, chem, cis, eng, his, phys. display the enumeration values for the user, then prompt the user to enter a major. display the college division in which the major falls. acc and cis are in the business division, chem and phys are in the science division, and eng and his are in the humanities division. save the file as majors.java.
Answers: 2
question
Computers and Technology, 23.06.2019 12:00
If you're using an existing powerpoint presentation that will receive new slides based on a word outline, select the a. slide that will appear after the new slides. b. first slide in the presentation. c. slide that will appear before the new slides. d. last slide in the presentation.
Answers: 2
question
Computers and Technology, 23.06.2019 16:30
Which of the following is not an enhancement to the standard wiki to make it more attractive for corporations? encryptionwork spacespermission toolspredictive text
Answers: 2
You know the right answer?
3. A two-dimensional array has been defined to hold the quantity of each of 5 different healthy
Questions
question
Biology, 01.04.2020 01:40
question
Mathematics, 01.04.2020 01:40
question
Mathematics, 01.04.2020 01:40
question
Mathematics, 01.04.2020 01:40
question
Mathematics, 01.04.2020 01:41
Questions on the website: 13722363