The loop terminates when "xxxxx" is read in. If the word is land, the string followed by "land" get outputted. The same with air, and water.
Explanation:
int land = 0;
int air = 0;
int water = 0;
String word = "";
while(!(word.equals("xxxxx"))) {
word = stdin.next();
if(word.equals("land")) {
land++;
}else if(word.equals("air")) {
air++;
}else if(word.equals("water")) {
water++;
}
}
System.out.println("land:" + land);
System.out.println("air:" + air);
System.out.println("water:" + water);
C. Underline because it is not a kind of font. it is an effect.
Answer:
when someone answers your questio correctly, you will see a red crown. Click on that and mark them the most brainiest
Explanation:
Answer:
/28 -- 16 Subnets -- 14 Hosts/Subnet
14*16 = 224 hosts
Explanation:
see https://www.aelius.com/njh/subnet_sheet.html