Hi,
can some1 help me with the following task:
What does the following program do and what is the duration of the program? First enter the duration of each line and then the total duration.
Public int calc (int[] array) {
int i = 0;
int j= array[0];
while (i < array.length) {
if (array > j) {
j = array;
}
i ++;
}
return j;
}
Help plz, can offer 3 fg ^^