Multiple choices 28/50
Answer (Choose 1 answer)
Next
What is the output of the algorithm ?
Procedure product(n: integer)p:=0;for i:=1 to (3*n) do for j:=1 to (2*n) do for k:=1 to (4*n) do p:=i*j*k;
Print(p)
A. 24n^3
B. 1024n^3
C. (3n)!(2n)!(4n)!
D. 2n^3
E. 4n^3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46 47
48 49 50