Sadam Zuan Nopandra - 213510479
Sadam Zuan Nopandra - 213510479
NPM: 213510479
Kelas: 4D
max = array[0]
for i = 1 to n-1
max = array[i]
end if
end for
print max
for i = 0 to n-1
if array[i] == target
break
end if
end for
result = 1
for i = 1 to b
result *= a
end for
print result
Pseudocode:
css
Copy code
for i = 0 to r1-1
for j = 0 to c2-1
temp = 0
for k = 0 to c1-1
end for
hasil[i][j] = temp
end for
end for
print hasil
for i = 0 to n-2
minIndex = i
minIndex = j
end if
end for
swap(array[i], array[minIndex])
end for
print array
1.
2.
3.
4.
5.