Is there options to this question?
Answer:
class Main {
public static void fillTable(int [][] t, int or, int oc) {
for(int r=0; r<t.length; r++) {
for(int c=0; c<t[r].length; c++) {
t[r][c] = Math.max(1+Math.abs(r-or), 1+Math.abs(c-oc));
}
}
}
public static void dumpTable(int [][] t) {
for(int r=0; r<t.length; r++) {
for(int c=0; c<t[r].length; c++) {
System.out.printf("%3d", t[r][c]);
}
System.out.println();
}
}
public static void main(String[] args) {
int origin_row = 3;
int origin_col = 2;
int[][] table = new int[5][4]; // rows|cols
fillTable(table, origin_row, origin_col);
dumpTable(table);
}
}
Explanation:
Above program does not contain input handling and exception handling, but it does contain the cleverness of calculating the cell values. I'm hoping you can add the input handling yourself?
Answer:
a modular router
Explanation:
A modular router is a type of router that will provide multiple slots, this will enable the network engineer to either change or increase the number of space the router has.
A layer 3 switch cannot provide a WAN connectivity even though it can increase the number of ports on a router. The concept of PoE capability of any device have nothing to do with the number of ports it has. If the Engineer decides to use another fixed configuration router it will still lead to the same problem in the future because it cannot guarantee or provide the flexibility of future growth adaptation which can be given by a modular router if put in use.
Answer:1200 seconds
Explanation: you multiply 10 by 120 which gives you 1200