subject
Computers and Technology, 23.11.2019 00:31 lam21

Assume an int array, candy, stores the number of candy bars sold by a group of children wherecandy[j] is the number of candy bars sold by child j. assume there are 12 children in all. which of the following code could be used to compute the total number of bars sold by the children? a) for(int j=0; j< 12; j++) sum+= candy[j]; b) for(int j=0; j< 12; j++) candy[j] = sum; c) for(int j=0; j< 12; j++) sum = candy[j]; d) for(int j=0; j< 12; j++) sum += [j]; e) for(int j=0; j< 12; j++) [j] += sum;

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:40
Respecting individual differencespre-test active2time remaining48: 47nina is exploring her gender identity and sexual orientationwhich best describes how the role of the media might influence nina during this time in her life? the media would her decide because television shows are always unbiased about gender issues and do notstereotypethe media could make things difficult for her because television sometimes portrays rigid ideas about gender roles.all forms of media will her decide because the media always portrays rigid ideas about gender roles.all forms of media will make things easy for her because the media always portrays open and fair ideas about gender roles.
Answers: 1
question
Computers and Technology, 23.06.2019 12:40
Curriculum exam to process a resident's payment, you must click on onesite payments home page. from the a. reports b. my settings o c.transactions o d. rent tab
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
You have read about the beginnings of the internet and how it was created. what was the internet originally created to do? (select all that apply) share research. play games. communicate. share documents. sell toys
Answers: 1
question
Computers and Technology, 24.06.2019 16:30
Jenny needs to record the names of 30 students, write down the subjects they studied, and note their grades in each subject after the midsemester exams and the end-of-semester exams. she divides the midsemester and end-of-semester information into two separate worksheets, sheet 1 and sheet 2. how will she rename the two worksheets?
Answers: 2
You know the right answer?
Assume an int array, candy, stores the number of candy bars sold by a group of children wherecandy[j...
Questions
question
Chemistry, 04.02.2020 14:58
question
Social Studies, 04.02.2020 14:58
question
Mathematics, 04.02.2020 14:58
Questions on the website: 13722362