The following is the output of Program Q3
3 4 5
5 6 7
7 8 9
Th...
Computers and Technology, 26.05.2021 18:20 MJyoungboy
The following is the output of Program Q3
3 4 5
5 6 7
7 8 9
The following is the program for the above output
Program Q3;
var
i, j: integer;
m3: array[(a),(b)] of integer;
begin
for i := 1 to 3 do
for j := 1 to 3 do
m3[i, j] :=2*i + j;
for i := 1 to 3 do
begin
for j :=1 to 3 do
(c) ;
(d) ;
end
end.
please fill in (a) to (d)
(e) What is the value stored in m3 [3, 1] ?
(f) What is the value stored in m3 [3, 1] if line 9 m3 [ i , j ] := 2*i+j; is changed to m3 [j , i ] :=2*i+j ?
Answers: 3
Computers and Technology, 22.06.2019 02:10
3. (5 points) describe what would be printed by the code below or what error would occur. const char* cstr = "0123456"; const char* ptr = & cstr[4]; cout < < ptr[-1] < < ptr < < endl; 1 4. (5 points) theseus has been trapped in a maze with a minotaur, which is trying to capture him. each round, theseus and the minotaur move through the maze; theseus towards the exit, and the minotaur towards theseus. theseus can move in any of the four cardinal directions, or he can wait for a round to see how the minotaur moves. write code that creates a data type to represent the possible moves that theseus could make.
Answers: 3
Computers and Technology, 22.06.2019 05:00
Which two editions of windows 7 support 64 bit cpus? choose two out of professional, business, starter, or home premium.
Answers: 1
Computers and Technology, 23.06.2019 16:30
Monica and her team have implemented is successfully in an organization. what factor leads to successful is implementation? good between different departments in an organization leads to successful is implementation.
Answers: 1
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
Mathematics, 16.12.2021 06:20
Chemistry, 16.12.2021 06:20
Mathematics, 16.12.2021 06:20
English, 16.12.2021 06:20
Mathematics, 16.12.2021 06:20
Social Studies, 16.12.2021 06:20
Physics, 16.12.2021 06:20
Mathematics, 16.12.2021 06:20
Chemistry, 16.12.2021 06:20
Mathematics, 16.12.2021 06:20
Advanced Placement (AP), 16.12.2021 06:20
Engineering, 16.12.2021 06:20
Mathematics, 16.12.2021 06:20
Mathematics, 16.12.2021 06:20
Mathematics, 16.12.2021 06:20