Computers and Technology
Computers and Technology, 20.12.2019 20:31, agreisha

Suppose that sales is a two-dimensional array of 10 rows and 7 columns wherein each component is of the type int , and sum and j are int variables.

which of the following correctly finds the sum of the elements of the fifth row of sales? 1.sum = 0; for(j = 0; j < 10; j++)sum = sum + sales[5][j];

2.sum = 0; for(j = 0; j < 7; j++)sum = sum + sales[4][j];

3.sum = 0; for(j = 0; j < 10; j++)sum = sum + sales[4][j];

4. sum = 0; for(j = 0; j < 7; j++)sum = sum + sales[5][j];

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 16:00, nancylagunas805
What does josh silverman name as the most important aspect of managing finances?
Answers: 2
image
Computers and Technology, 22.06.2019 19:30, 710jonathan
The following is an excerpt from a slide presentation. today we will inverse operations solving equations using inverse operations solving inequalities using inverse operations from which part of the presentation does the slide most likely come from? a. introduction b. outline c. body d. conclusion
Answers: 1
image
Computers and Technology, 22.06.2019 21:00, raquelle66
So im doing this school challenge and the teachers said whats the average text a student gets a day so i need to get about 20 in a day but dont know how can you guys 2163371293
Answers: 2
image
Computers and Technology, 23.06.2019 03:30, patience233
Many everyday occurrences can be represented as a binary bit. for example, a door is open or closed, the stove is on or off, and the fog is asleep or awake. could relationships be represented as a binary value? give example.
Answers: 1
Do you know the correct answer?
Suppose that sales is a two-dimensional array of 10 rows and 7 columns wherein each component is of...

Questions in other subjects:

Konu
Mathematics, 07.06.2020 08:58
Konu
Spanish, 07.06.2020 08:58
Konu
Chemistry, 07.06.2020 08:58