Answer:
sorry if it is too late but I think it is d
Explanation:
Answer:
Check the explanation
Explanation:
% iterate through each column (outer loop) , then iterate rows-1 (inner loop)
%take product of adjacent rows
mat = input('enter 5 by 5 matrix : ');
[R,C] = size(mat);
max_prod =0;
for c =[1:C]
for r=[1:(R-1)]
temp = mat(r,c)*mat((r+1),c);
if max_prod<temp
max_prod=temp;
end
end
end
fprintf('Greatest product : %i\n', max_prod)
Kindly check the output in the attached image below.
Answer:
D. Modeling
Explanation:
<em>Modeling</em>: It is a graphical representation, of a concept or system, technique used by software developer to analyze, test, and modify that system or concept.
This is in fact false to my knowledge
Answer:
int x;
String s;
if ((x%3) == 0) {
s = "Divisible by 3";
} else {
s = "Not divisible by 3";
}
System.out.println(s);
Explanation:
A : B ? C generally translates to if (A) { B } else { C }.
Note the == to compare to 0. The single = in the original expression is a mistake.