subject
Mathematics, 23.11.2019 05:31 trinitymarielouis

A. consider the following algorithm segment: for i : = 1 to 4, for j : = 1 to i, [statements in body of inner loop. none contain branching statements that lead outside the loop.] next j, next i. how many times will the inner loop be iterated when the algorithm is implemented and run?
b. let n be a positive integer, and consider the following algorithm segment: for i : = 1 to n, for j : = 1 to i, [statements in body of inner loop. none contain branching statements that lead outside the loop.], next j, next i. how many times will the inner loop be iterated when the algorithm is implemented and run?

ansver
Answers: 3

Another question on Mathematics

question
Mathematics, 21.06.2019 14:40
How many square feet of out door carpet will we need for this hole? 8ft 3ft 12ft 4ft
Answers: 1
question
Mathematics, 21.06.2019 16:00
Will give brainliest what is the value of x? enter your answer in the box.
Answers: 1
question
Mathematics, 21.06.2019 17:30
When the solutions to each of the two equations below are graphed in the xy-coordinate plane, the graphs of the solutions intersect at two places. write the y-cordninates of the points of intersection in the boxes below in order from smallest to largest. y=2x y=x^2-3
Answers: 1
question
Mathematics, 21.06.2019 19:10
Angle xyz is formed by segments xy and yz on the coordinate grid below: a coordinate plane is shown. angle xyz has endpoints at 3 comma negative 1 and 6 negative 2 and 3 comma negative 3 and measures 36.87 degrees. angle xyz is rotated 270 degrees counterclockwise about the origin to form angle x′y′z′. which statement shows the measure of angle x′y′z′?
Answers: 2
You know the right answer?
A. consider the following algorithm segment: for i : = 1 to 4, for j : = 1 to i, [statements in bod...
Questions
question
Social Studies, 05.10.2019 05:30
Questions on the website: 13722362