subject

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];

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 07:20
3pointsyou've found an image you want to insert into your slide presentation. youwant to make the image look more gray so that it looks like an older imagewhat would you need to adjust? 0.00o a. sizeo b. hueo c. contrasto d. tones
Answers: 2
question
Computers and Technology, 24.06.2019 10:30
You're programming an infinite loop. what must you include in your code to prevent crashes? in roblox
Answers: 2
question
Computers and Technology, 24.06.2019 12:00
How can we take picture in this app
Answers: 1
question
Computers and Technology, 24.06.2019 15:30
During the software planning process, rick, a project manager, finds that his team has made an incorrect estimation of funds. what kind of risk has rick identified? rick has identified a risk.
Answers: 1
You know the right answer?
Suppose that sales is a two-dimensional array of 10 rows and 7 columns wherein each component is of...
Questions
question
Mathematics, 10.04.2020 22:32
question
Social Studies, 10.04.2020 22:32
question
Mathematics, 10.04.2020 22:32
Questions on the website: 13722362