subject

A two-dimensional array has been defined to hold the quantity of each of five different healthy snack products sold in a shop 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.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:30
To insert a column without using commands in any tabs, a user can -click and then click insert column.
Answers: 3
question
Computers and Technology, 22.06.2019 15:00
Hyperactive media sales has 10 windows 7 laptop computers used by sales-people in the organization. each laptop computer has several customized applications that are used during the sales process as well as customer relationship management software. all of the applications on the laptops are difficult to configure and have large data files. if all of the laptops have current hardware, what is the easiest way to install windows 10 on them?
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
The blank button automatically displays next to the data when you select a range of numeric data which is an available option for creating a chart
Answers: 3
question
Computers and Technology, 23.06.2019 03:50
Q-1 which of the following can exist as cloud-based it resources? a. physical serverb. virtual serverc. software programd. network device
Answers: 1
You know the right answer?
A two-dimensional array has been defined to hold the quantity of each of five different healthy snac...
Questions
question
English, 23.09.2020 15:01
question
Mathematics, 23.09.2020 15:01
question
Mathematics, 23.09.2020 15:01
Questions on the website: 13722363