Explanation:
Let the size of a large server be L, and
the size of a small server be S.
We are given two scenarios,
2L+4S = 64.............(1)
and
L+3S = 40...............(2)
We solve the equations as follows
2(2)-(1)
2L-2L +6S-4S = 2*40-64
2S = 16
so S=8 ..................(3), size of small server
substitute (3) in (2)
L+3(8) =40
L = 40-24 = 16..............size of large server
Answer:
network 10.10.8.0 0.0.3.255 area 0
this will include all the interfaces on a device whose IP addresses only begin with a 10.10.8, 10.10.9, 10.10.10, or 10.10.11.
Explanation:
<em>show ip ospf interface
</em>
<em>show ip ospf interface brief</em>
these commands are used to display the interfaces that have been enabled into local ospf . it also shows explanation about them by brief command mentioned above.
<em />
Answer:
public static String repeat(String text, int repeatCount) {
if(repeatCount < 0) {
throw new IllegalArgumentException("repeat count should be either 0 or a positive value");
}
if(repeatCount == 0) {
return "";
} else {
return text + repeat(text, repeatCount-1);
}
}
Explanation:
Here repeatCount is an int value.
at first we will check if repeatCount is non negative number and if it is code will throw exception.
If the value is 0 then we will return ""
If the value is >0 then recursive function is called again untill the repeatCount value is 0.