Integer j, m
2.
Set m = 1
3.
Integer a[4] = {0, 1, 3, 2}
4.
if (a[0])
5.
for(each j from 0 to 2)
6.
m + a[j] - 1
7.
End for
8. End if
9.
if (a[1])
10.
if(a[-1])
11.
for(each j from 1 to 3)
12.
m = m + a[j] + 1
13.
End for
14.
End if
15. End if
16. Print m
Answers
Answered by
3
Anyone interested can learn and write
Similar questions