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);
Answer:
Fair use
Explanation:
I don't know if this is correct but Its the best option.
<span>Documents, images and other data you can access by providing a uniform Resource Locator. URL - the Web Address
I hope this helps. You didn't give me the choices to from. </span>
Bot. A program that performs a repetitive task on a network. Cybercriminals install malicous bots on unprotected computers to create a botnet. Zombie army. (also calledBotnet) groups of bots
The first being Ctrl+M and the second being clicking the <span>top half of the New Slide button</span>