subject
Mathematics, 13.07.2019 01:30 genyjoannerubiera

Consider the following pseudocode fragment: count= 0 for i 1 to 3 for j = i+1 to 4 count= count + i - j end-for end-for 1) when i 2, how many times does the inner loop iterate? correct 2 2 check show answer the initial value of j is i+1. the final value ofj is 4. j = 3, 4. 2 iterations. 2) how many times is the variable count increased? correct 6 6 check show answer 2,3,4. when i= 2,j 3, 4. when i 3, j = 4. when i 1, a total of 6 iterations. 3) what is the final value of count? incorrect 12 the sum is over i x j, for every possible combination of i e (1,2, 3 and je 1, 2, 3, 4}, where i

ansver
Answers: 1

Another question on Mathematics

question
Mathematics, 21.06.2019 13:20
Which statement explains how you could use coordinate geometry to prove that quadrilateral abcd is a parallelogram? -5 -4 -3 -2 -1 t 1 2 3 4 prove that all sides are congruent and have slopes that are opposite reciprocals prove that segments ad and ab are congruent and parallel prove that opposite sides are congruent and have equal slopes prove that segments bc and cd are congruent and parallel
Answers: 1
question
Mathematics, 21.06.2019 17:40
Atriangle has an area of 72 square inches. if the base of the triangle has a length of 18 inches, what is the height of the triangle? use the formula for the area of a triangle: area = (base)(height) type a numerical answer in the space provided. do not include the units or spaces in your answer.
Answers: 1
question
Mathematics, 21.06.2019 19:00
Which graph represents the parent function of y=(x+2)(x-2)
Answers: 1
question
Mathematics, 21.06.2019 21:00
Can some one explain how to slove specifically, what is the value of x? 0.9(x+1.4)-2.3+0.1x=1.6 enter the answer as a decimal in the box. x= ?
Answers: 2
You know the right answer?
Consider the following pseudocode fragment: count= 0 for i 1 to 3 for j = i+1 to 4 count= count + i...
Questions
question
Mathematics, 01.12.2021 18:40
question
Mathematics, 01.12.2021 18:40
question
Biology, 01.12.2021 18:40
question
Computers and Technology, 01.12.2021 18:40
question
Mathematics, 01.12.2021 18:40
Questions on the website: 13722367